标签:map lte 相同属性 pre tca code car getc let
let arr = this.getCartData let arr1 = this.choselist arr = arr.filter(item => { let list = arr1.map(v => v.id) return !list.includes(item.id) }) this.getCartData = arr console.log(this.getCartData)
标签:map lte 相同属性 pre tca code car getc let
原文地址:https://www.cnblogs.com/lwming/p/11708565.html