过滤null商品
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user