Sfoglia il codice sorgente

上传资料页接口

suxinf 4 anni fa
parent
commit
86e88ffa5d
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. 2 3
      src/views/data/UploadInfor.vue

+ 2 - 3
src/views/data/UploadInfor.vue

@@ -303,20 +303,19 @@ export default {
           return;
         }
         if (!this.materialTime) {
-          alert("素材事件不能为空");
+          alert("素材时间不能为空");
           return;
         }
         if (!this.file) {
           alert("请导入附件");
           return;
         }
-      }
         this.submitRequest();
+      }
     },
     // 获取文件名
     getFileInfo: function (event) {
       this.file = event.target.files;
-      console.log(this.file)
       this.fileDes = [];
         this.file.forEach((item) => {
           this.fileDes.push(item.name);