过滤null商品

This commit is contained in:
2024-08-28 18:30:02 +08:00
parent 83d0c54717
commit 18b6509b26

View File

@@ -2387,6 +2387,9 @@ export default {
async getGoods() {
const res = await getGoodsLists(this.goods.query);
const goods= res.records.filter((v) => {
if(!v){
return false
}
let isShow = true;
if (v.typeEnum !== "sku") {
isShow = v.specList.length >= 1;