修复优化促销问题

This commit is contained in:
paulGao
2021-12-25 18:36:15 +08:00
parent 6c1d7cce8d
commit 54dcd2d8be
8 changed files with 31 additions and 35 deletions

View File

@@ -290,10 +290,10 @@ export default {
onOk: () => {
let ids = [];
this.selectList.forEach(function (e) {
ids.push(e.id);
ids.push(e.skuId);
});
this.goodsData = this.goodsData.filter((item) => {
return !ids.includes(item.id);
return !ids.includes(item.skuId);
});
},
});