Commit 5ad54c8a by zhangdaihao

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

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment