瀏覽代碼

上传参数初始化

DESKTOP-2K9OVK9\siwei 3 月之前
父節點
當前提交
8801c0f8e8
共有 1 個文件被更改,包括 4 次插入1 次删除
  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) {