소스 검색

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

zhouna 6 년 전
부모
커밋
109ad9c99c
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  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;