https://www.cnblogs.com/linsx/p/8331623.html
arr.splice(arr.findIndex(item => item.id === data.id), 1)