@mixd-id/web-scaffold 0.1.240411016 → 0.1.240411017
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/Image.vue +3 -6
package/package.json
CHANGED
package/src/components/Image.vue
CHANGED
|
@@ -164,11 +164,8 @@ export default{
|
|
|
164
164
|
let reader
|
|
165
165
|
|
|
166
166
|
if(typeof src === 'string') {
|
|
167
|
-
if(src.
|
|
168
|
-
|
|
169
|
-
if(src.indexOf('://') < 0 && src.substring(0, 1) !== '/'){
|
|
170
|
-
src = ((import.meta.env.VITE_IMAGE_HOST ?? '') + '/' + src)
|
|
171
|
-
}
|
|
167
|
+
if(src.indexOf('://') < 0 && src.substring(0, 1) !== '/'){
|
|
168
|
+
src = ((import.meta.env.VITE_IMAGE_HOST ?? '') + '/' + src)
|
|
172
169
|
}
|
|
173
170
|
|
|
174
171
|
this.actualSrc = src
|
|
@@ -240,7 +237,7 @@ export default{
|
|
|
240
237
|
<style module>
|
|
241
238
|
|
|
242
239
|
.comp{
|
|
243
|
-
@apply relative flex items-center justify-center overflow-hidden
|
|
240
|
+
@apply relative flex items-center justify-center overflow-hidden;
|
|
244
241
|
}
|
|
245
242
|
|
|
246
243
|
.img{
|