Showing
1 changed file
with
1 additions
and
1 deletions
@@ -91,7 +91,7 @@ exports.processProductList = (list, options) => { | @@ -91,7 +91,7 @@ exports.processProductList = (list, options) => { | ||
91 | 91 | ||
92 | _.forEach(list, (product) => { | 92 | _.forEach(list, (product) => { |
93 | // 商品信息有问题,则不显示 | 93 | // 商品信息有问题,则不显示 |
94 | - if (!product.productId || !product.goodsList.length) { | 94 | + if (!product.productId || !product.goodsList || !product.goodsList.length) { |
95 | return; | 95 | return; |
96 | } | 96 | } |
97 | 97 |
-
Please register or login to post a comment