yanghe17378 11 месяцев назад
Родитель
Сommit
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');