Преглед изворни кода

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();
       }
     },
     // 删除文件