过滤null商品
This commit is contained in:
parent
83d0c54717
commit
18b6509b26
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue