删除数组对象中的某个对象

// 删除上传
delUploadItem(file) {
this.formCreat.previewImageList = this.formCreat.previewImageList.filter(el => el.url != file.url)
},
posted on 2023-04-13 14:26  忆小样  阅读(17)  评论(0编辑  收藏  举报