Browse Source

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

pull/1738/head
zhangdaihao 5 years ago
parent
commit
5ad54c8a49
  1. 6
      ant-design-vue-jeecg/src/components/jeecg/JUpload.vue

6
ant-design-vue-jeecg/src/components/jeecg/JUpload.vue

@ -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(",")

Loading…
Cancel
Save