发布 v2.5.1 针对 v2.5.0 版本新特性bug修复

This commit is contained in:
疯狂的狮子li
2021-07-13 13:57:44 +08:00
parent 49c2809895
commit 51d1e3c8c1
24 changed files with 141 additions and 84 deletions

View File

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