Просмотр исходного кода

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

若依 4 лет назад
Родитель
Сommit
2c610dc465
1 измененных файлов с 2 добавлено и 0 удалено
  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;
         });
       } else {
+        //上传后关闭弹出框再打开出现`只允许上传单个文件`提示,增加fileList清空可解决
+        this.fileList = [];
         return [];
       }
     },