yanghe17378 пре 11 месеци
родитељ
комит
0075eeb389
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/components/upload/import-dialogNew.vue

+ 3 - 1
src/components/upload/import-dialogNew.vue

@@ -107,8 +107,10 @@
         await importBatch({
           module: this.module,
           multiPartFiles: this.attaments
+        }).finally(() => {
+          this.uploading = false;
         });
-        this.uploading = false;
+
         this.$message.success('操作成功!');
         this.dialogVisible = false;
         this.$emit('success');