筛选重点单品排除已展示的重点单品

This commit is contained in:
aixianling
2024-08-08 14:30:02 +08:00
parent 92963d3497
commit b8ace3651f

View File

@@ -74,7 +74,7 @@ export default {
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
this.storeKeyGoods = res.data this.storeKeyGoods = res.data
this.$set(this.$storeBoard, 'storeKeyGoods', res.data) this.$set(this.$storeBoard, 'storeKeyGoods', res.data.filter(e => !/(104|108|109)/.test(e.goodsCategoryId)))
} }
}) })
}, },