Procházet zdrojové kódy

上传参数初始化

DESKTOP-2K9OVK9\siwei před 2 měsíci
rodič
revize
8801c0f8e8
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      src/views/remote/satellite/index.vue

+ 4 - 1
src/views/remote/satellite/index.vue

@@ -298,7 +298,7 @@
         :on-error="handleUploadError"
         :on-success="handleUploadSuccess"
         :on-change="handleChange"
-        :limit="10"
+        :limit="20"
         accept=".zip"
         :file-list="fileList"
         :show-file-list="true"
@@ -447,6 +447,9 @@ export default {
       console.log(this.uploadFileUrl);
       this.uploadFileUrl = this.uploadFileUrl;
       this.fileList = [];
+      this.uploadingCount=0; // 正在上传的文件数量
+      this.uploadingFileSUccess=[]; 
+      this.uploadingFileFail=[]; 
       this.fileUploadDiv = true;
     },
     handleBeforeUpload(file) {