Showing
2 changed files
with
3 additions
and
3 deletions
@@ -56,8 +56,8 @@ const indexAsync = pid => { | @@ -56,8 +56,8 @@ const indexAsync = pid => { | ||
56 | marketPrice: cur.product.productPriceBo.formatMarketPrice, | 56 | marketPrice: cur.product.productPriceBo.formatMarketPrice, |
57 | productName: cur.product.productName, | 57 | productName: cur.product.productName, |
58 | href: helpers.getUrlBySkc( | 58 | href: helpers.getUrlBySkc( |
59 | - _.head(goods.goodsImagesList).productId, | ||
60 | - _.head(goods.goodsImagesList).goodsId, | 59 | + _.get(goods, 'goodsImagesList[0].productId', ''), |
60 | + _.get(goods, 'goodsImagesList[0].goodsId', ''), | ||
61 | cur.product.cnAlphabet | 61 | cur.product.cnAlphabet |
62 | ) | 62 | ) |
63 | }; | 63 | }; |
-
Please register or login to post a comment