From 2c323ca3fff788329d92efe760b542e965eecfdb Mon Sep 17 00:00:00 2001 From: ouwei2020 <8461269+ouwei2020@user.noreply.gitee.com> Date: Wed, 6 Jan 2021 11:09:23 +0800 Subject: [PATCH] update ruoyi-ui/src/components/FileUpload/index.vue. --- ruoyi-ui/src/components/FileUpload/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ruoyi-ui/src/components/FileUpload/index.vue b/ruoyi-ui/src/components/FileUpload/index.vue index bcc95150e..a4e681dda 100644 --- a/ruoyi-ui/src/components/FileUpload/index.vue +++ b/ruoyi-ui/src/components/FileUpload/index.vue @@ -90,6 +90,8 @@ export default { return item; }); } else { + //上传后关闭弹出框再打开出现`只允许上传单个文件`提示,增加fileList清空可解决 + this.fileList = []; return []; } },