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

This commit is contained in:
zhangdaihao 2019-07-31 22:48:17 +08:00
parent 64647a89a0
commit d81244b591
1 changed files with 5 additions and 1 deletions

View File

@ -83,7 +83,11 @@
methods:{
initFileList(paths){
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 arr = paths.split(",")