diff --git a/packages/uploader/index.less b/packages/uploader/index.less
index 8c6c3db0..8a5981c1 100644
--- a/packages/uploader/index.less
+++ b/packages/uploader/index.less
@@ -138,6 +138,6 @@
&__loading {
width: @uploader-loading-icon-size;
height: @uploader-loading-icon-size;
- color: @uploader-loading-icon-color;
+ color: @uploader-loading-icon-color !important;
}
}
diff --git a/packages/uploader/index.ts b/packages/uploader/index.ts
index 412c6c62..3de1330d 100644
--- a/packages/uploader/index.ts
+++ b/packages/uploader/index.ts
@@ -12,7 +12,7 @@ VantComponent({
beforeRead: null,
previewSize: {
type: null,
- value: 90,
+ value: 80,
},
name: {
type: [Number, String],
@@ -78,9 +78,7 @@ VantComponent({
? isImageFile(item)
: item.isImage,
deletable:
- typeof item.deletable === 'undefined'
- ? true
- : item.deletable,
+ typeof item.deletable === 'undefined' ? true : item.deletable,
}));
this.setData({ lists, isInCount: lists.length < maxCount });
},
diff --git a/packages/uploader/index.wxml b/packages/uploader/index.wxml
index bce0a495..efec32e0 100644
--- a/packages/uploader/index.wxml
+++ b/packages/uploader/index.wxml
@@ -34,8 +34,8 @@
class="van-uploader__mask"
>
-
- {{ item.message }}
+
+ {{ item.message }}