Showing
1 changed file
with
1 additions
and
1 deletions
@@ -601,7 +601,7 @@ const formatCart = (cartDataRet, uid, shoppingKey, cartDelList) => { | @@ -601,7 +601,7 @@ const formatCart = (cartDataRet, uid, shoppingKey, cartDelList) => { | ||
601 | return result; | 601 | return result; |
602 | } | 602 | } |
603 | 603 | ||
604 | - if(_.get(result, 'ordinaryCart.promotionInfos')) { | 604 | + if (_.get(result, 'ordinaryCart.promotionInfos')) { |
605 | result.ordinaryCart.promotionInfos = _.filter(result.ordinaryCart.promotionInfos, pinfo => { | 605 | result.ordinaryCart.promotionInfos = _.filter(result.ordinaryCart.promotionInfos, pinfo => { |
606 | return pinfo && pinfo.tag && pinfo.promotionId > 0; | 606 | return pinfo && pinfo.tag && pinfo.promotionId > 0; |
607 | }); | 607 | }); |
-
Please register or login to post a comment