Commit 76761064 by 前端

v1.21.1版本需求

1 parent a28bc237
...@@ -159,8 +159,8 @@ export default { ...@@ -159,8 +159,8 @@ export default {
// 删除图片 // 删除图片
removeImage(row) { removeImage(row) {
//数组中删除对应img //数组中删除对应img
this.imgList = this.imgList.filter((k) => k.path != row.path); //this.imgList = this.imgList.filter((k) => k.id != row.id);
console.log(this.imgList); this.imgList = this.imgList.filter((k) => k !== row);
this.$emit("input", this.imgList); this.$emit("input", this.imgList);
this.$emit("change"); this.$emit("change");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!