Explorar o código

!37 update ruoyi-ui/src/components/FileUpload/index.vue.
Merge pull request !37 from ouwei2020/N/A

若依 %!s(int64=5) %!d(string=hai) anos
pai
achega
2c610dc465
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      ruoyi-ui/src/components/FileUpload/index.vue

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

@@ -90,6 +90,8 @@ export default {
90 90
           return item;
91 91
         });
92 92
       } else {
93
+        //上传后关闭弹出框再打开出现`只允许上传单个文件`提示,增加fileList清空可解决
94
+        this.fileList = [];
93 95
         return [];
94 96
       }
95 97
     },