|
|
@@ -111,7 +111,7 @@ export default {
|
|
111
|
111
|
methods: {
|
|
112
|
112
|
// 删除图片
|
|
113
|
113
|
handleRemove(file, fileList) {
|
|
114
|
|
- const findex = this.fileList.indexOf(file.name);
|
|
|
114
|
+ const findex = this.fileList.map(f => f.name).indexOf(file.name);
|
|
115
|
115
|
this.fileList.splice(findex, 1);
|
|
116
|
116
|
this.$emit("input", this.listToString(this.fileList));
|
|
117
|
117
|
},
|