|
|
@ -643,7 +643,7 @@ import {computeArea} from '@/common/utils' |
|
|
|
var res=await request('/sys/common/upload',{ |
|
|
|
filePath:e.file[i].url |
|
|
|
}) |
|
|
|
if(res.statu ||true){ |
|
|
|
if(res.statu){ |
|
|
|
this.imgList.some((v,k)=>{ |
|
|
|
if(v==e.file[i]){ |
|
|
|
v.status='success' |
|
|
@ -666,7 +666,9 @@ import {computeArea} from '@/common/utils' |
|
|
|
}else{ |
|
|
|
this.$emit("input",this.value.filter((v,k)=>k!=file.index)) |
|
|
|
} |
|
|
|
this.$emit('imgs',this.imgs.map(v=>v.tempUrl).join(',')) |
|
|
|
this.$nextTick(()=>{ |
|
|
|
this.$emit('imgs',this.imgs.map(v=>v.tempUrl).join(',')) |
|
|
|
}) |
|
|
|
}, |
|
|
|
pickerChange(e){ |
|
|
|
if(dataType(e.value[e.columnIndex].children, 'array')){ |
|
|
|