过滤null商品

This commit is contained in:
YeMingfei666 2024-08-28 18:30:02 +08:00
parent 83d0c54717
commit 18b6509b26
1 changed files with 3 additions and 0 deletions

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;