Browse Source

修复用户导入多次选择文件时无效问题

RuoYi 2 years ago
parent
commit
a49e6c4d7c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/system/user/index.vue

+ 1 - 1
src/views/system/user/index.vue

@@ -542,7 +542,7 @@ const handleFileUploadProgress = (event, file, fileList) => {
 const handleFileSuccess = (response, file, fileList) => {
   upload.open = false;
   upload.isUploading = false;
-  proxy.$refs["uploadRef"].clearFiles();
+  proxy.$refs["uploadRef"].handleRemove(file);
   proxy.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + "</div>", "导入结果", { dangerouslyUseHTMLString: true });
   getList();
 };