提交 5ad54c8a 编写于 作者: JEECG低代码平台's avatar JEECG低代码平台

解决bug:关于Jupload组件的上传后再进行新增会保留上次的上传结果的问题 #326

上级 3bd6afd1
...@@ -83,7 +83,11 @@ ...@@ -83,7 +83,11 @@
methods:{ methods:{
initFileList(paths){ initFileList(paths){
if(!paths || paths.length==0){ if(!paths || paths.length==0){
return []; //return [];
// update-begin- --- author:os_chengtgen ------ date:20190729 ---- for:issues:326,Jupload组件初始化bug
this.fileList = [];
return;
// update-end- --- author:os_chengtgen ------ date:20190729 ---- for:issues:326,Jupload组件初始化bug
} }
let fileList = []; let fileList = [];
let arr = paths.split(",") let arr = paths.split(",")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册