使用.splice方法 splice(index ,num) index表示下标位置 num表示删除数量 findIndex表示找到某元素的下标位置 this.imgList.splice(this.imgList.findIndex(item => item.url === path), 1) 来源:https://www.cnblogs.com/zzz-knight/p/11726291.html 标签 splice num