Jelajahi Sumber

Merge branch 'zdsz3.0' of http://192.168.10.18:3000/sunwei/zdsz_vue into zdsz3.0

付宇航 1 tahun lalu
induk
melakukan
c2cc65a97b
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 3
      src/components/ObsImageUpload/indexFile.vue

+ 2 - 3
src/components/ObsImageUpload/indexFile.vue

@@ -118,7 +118,6 @@ export default {
       return this.isShowTip && (this.fileType || this.fileSize);
     },
       fileList() {
-      console.log('qqqqqqqqqqqq')
         const val = this.value;
         if (val) {
           // 首先将值转为数组
@@ -191,8 +190,8 @@ export default {
             flag = true
           }
           if (flag == true) {
-            this.$message.error(
-              `文件格式不正确, 规则:${name}!`
+            this.$message.warning(
+              `文件格式不正确!`
             );
             return false;
           }