Commit 696c3895 authored by caimeng's avatar caimeng

修复意见反馈,图片上传无法删除的问题

parent 4574999c
......@@ -248,8 +248,14 @@ export default {
handleLoanApplyRemove(file, fileList) {
const {name} = file;
console.log(file, 'r2')
console.log(fileList, 'r3')
const i1 = this.fileList.findIndex((item)=>item.name===name)
if(i1!==-1) {
this.fileList.splice(i1,1)
// this.fileList = nArr
}
},
httpRequest() {
......
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