File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -134,10 +134,12 @@ const cloudimageConfig = {
134
134
};
135
135
136
136
< template>
137
+ < div id= " app" >
137
138
< CloudimageProvider v- bind: cloudImageConfig= " cloudimageConfig" >
138
139
< h1> Simple demo of vue- cloudimage- responsive< / h1>
139
140
< Img src= " img.jpg" alt= " Demo image" v- bind: ratio= " 1.5" blurhash= " L34VB$Rj8wofayfPj@azDNj[.9WB" / >
140
141
< / CloudimageProvider>
142
+ < / div>
141
143
< / template>
142
144
143
145
< script>
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default {
31
31
lg: " (min-width: 992px)" , // 992 - 1199 SMALL_LAPTOP_SCREEN
32
32
xl: " (min-width: 1200px)" // from 1200 USUALSCREEN
33
33
},
34
- params: processParams (this .cloudImageConfig .params ),
34
+ params: this . cloudImageConfig . params ? processParams (this .cloudImageConfig .params ) : ' org_if_sml=1 ' ,
35
35
innerWidth: typeof window !== " undefined" ? window .innerWidth : null ,
36
36
previewQualityFactor: 10 ,
37
37
doNotReplaceURL: this .cloudImageConfig .doNotReplaceURL || false ,
You can’t perform that action at this time.
0 commit comments