Explorar o código

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

若依 %!s(int64=4) %!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 {
           return item;
           return item;
         });
         });
       } else {
       } else {
+        //上传后关闭弹出框再打开出现`只允许上传单个文件`提示,增加fileList清空可解决
+        this.fileList = [];
         return [];
         return [];
       }
       }
     },
     },