Browse Source

Merge remote-tracking branch 'origin/dev' into test

zhouna 6 năm trước cách đây
mục cha
commit
109ad9c99c
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      src/components/icss/MedicineInfoPg.vue

+ 8 - 0
src/components/icss/MedicineInfoPg.vue

@@ -53,6 +53,14 @@
             ImageExtend: {
               loading: true,
               name: 'upfile',
+              size:1,
+              sizeError: () => {
+                this.$message({
+                  showClose: true,
+                  message: '请上传 1M 以内的图片!',
+                  type: 'warning'
+                })
+              },
               action: config.urls.promptServer,
               response: (res) => {
                 return config.imgHost+res.url;