qinhouyu 1 سال پیش
والد
کامیت
e766bf7755
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  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;
           }