Showing
1 changed file
with
2 additions
and
0 deletions
@@ -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 | } |
-
Please register or login to post a comment