Merge branch 'feature/new-product-detail' of http://git.yoho.cn/fe/yohobuy-node …
…into feature/new-product-detail
Showing
1 changed file
with
6 additions
and
0 deletions
@@ -1388,6 +1388,12 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => { | @@ -1388,6 +1388,12 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => { | ||
1388 | _.each(result.colors, (color) => { | 1388 | _.each(result.colors, (color) => { |
1389 | color.disable = !Fn.any(isSelling)(color.size); | 1389 | color.disable = !Fn.any(isSelling)(color.size); |
1390 | }); | 1390 | }); |
1391 | + } else { | ||
1392 | + // 普通商品 | ||
1393 | + result.bundle = { | ||
1394 | + count: 1, | ||
1395 | + type: 0 | ||
1396 | + }; | ||
1391 | } | 1397 | } |
1392 | 1398 | ||
1393 | // 电子票 | 1399 | // 电子票 |
-
Please register or login to post a comment