|
@@ -350,12 +350,9 @@ export function pushGoodsInfo(finalDetail, goodsList, favsList) { |
|
@@ -350,12 +350,9 @@ export function pushGoodsInfo(finalDetail, goodsList, favsList) { |
350
|
finalDetail[key].relatedReco.goods = [];
|
350
|
finalDetail[key].relatedReco.goods = [];
|
351
|
|
351
|
|
352
|
forEach(goodsSkn, (item, subKey) => {
|
352
|
forEach(goodsSkn, (item, subKey) => {
|
353
|
- console.log(goodsObj, item)
|
|
|
354
|
if (goodsObj[item]) {
|
353
|
if (goodsObj[item]) {
|
355
|
- console.log(goodsObj[item])
|
|
|
356
|
finalDetail[key].relatedReco.goods[subKey] = goodsObj[item];
|
354
|
finalDetail[key].relatedReco.goods[subKey] = goodsObj[item];
|
357
|
} else {
|
355
|
} else {
|
358
|
- console.log('delete');
|
|
|
359
|
delete finalDetail[key].relatedReco.goods[subKey];
|
356
|
delete finalDetail[key].relatedReco.goods[subKey];
|
360
|
}
|
357
|
}
|
361
|
});
|
358
|
});
|