function renderAddExitData (goodsIdList, selectGoods, is_main, groupId) {
let newArr = goodsIdList.filter((itemA) => {
return selectGoods.every((itemB) => {
//判断条件
return itemA.goods_id != itemB.goods_id && itemA.is_main == is_main
})
})
}
获取A数组存在但B数组不存在的值
最新推荐文章于 2024-04-29 22:17:02 发布