every数组方法 对比两数组保存不同id的数组
this.carList = newList.map((item, index) => {
return item
}).filter(item => this.weightList.list.every(current => current.vehicleId !== item.fid))
console.log('结果',this.carList)

共有 0 条评论