소스 검색

update 文件上传补全漏改

疯狂的狮子li 3 년 전
부모
커밋
2190d87dc9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      ruoyi-ui/src/components/FileUpload/index.vue

+ 2 - 2
ruoyi-ui/src/components/FileUpload/index.vue

@@ -162,8 +162,8 @@ export default {
           this.$modal.closeLoading();
         }
       } else {
-        this.$message.error(res.msg);
-        this.loading.close();
+        this.$modal.msgError(res.msg);
+        this.$modal.closeLoading();
       }
     },
     // 删除文件