删除数组某个指定元素

方法一

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

方法二

this.list = this.list.filter((item) => item.id !== id);
原文地址:https://www.cnblogs.com/cb1490838281/p/14311882.html