Authored by yyq

报错修复

@@ -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 };
@@ -72,7 +72,7 @@ const _signboard = data => { @@ -72,7 +72,7 @@ const _signboard = data => {
72 }); 72 });
73 73
74 return { 74 return {
75 - title: result[0].title || '', 75 + title: '',
76 list: result 76 list: result
77 }; 77 };
78 }; 78 };