this.data.vipTipArr.filter(item=>!arr.some(ele=>ele.goodsId===item.goodsId))
es6去除id为一样的对象
最新推荐文章于 2023-10-06 09:10:01 发布
this.data.vipTipArr.filter(item=>!arr.some(ele=>ele.goodsId===item.goodsId))