Authored by 郭成尧

read-property-of-null

@@ -525,7 +525,9 @@ const pushGoodsInfo = (finalDetail, goodsList, isApp) => { @@ -525,7 +525,9 @@ const pushGoodsInfo = (finalDetail, goodsList, isApp) => {
525 if (value.collocation) { 525 if (value.collocation) {
526 _.forEach(value.collocation, (item, subKey) => { 526 _.forEach(value.collocation, (item, subKey) => {
527 _.forEach(item.goods, (thItem, thKey) => { 527 _.forEach(item.goods, (thItem, thKey) => {
  528 + if (thItem) {
528 finalDetail[key].collocation[subKey].goods[thKey] = goodsObj[thItem.id]; 529 finalDetail[key].collocation[subKey].goods[thKey] = goodsObj[thItem.id];
  530 + }
529 }); 531 });
530 }); 532 });
531 } 533 }