方法一

this.list.splice(this.list.findIndex(item => item.id === id), 1)

方法二

this.list = this.list.filter((item) => item.id !== id);

 

相关文章: