Explorar o código

上传资料页接口

suxinf %!s(int64=4) %!d(string=hai) anos
pai
achega
86e88ffa5d
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      src/views/data/UploadInfor.vue

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

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