Showing
1 changed file
with
2 additions
and
2 deletions
@@ -236,8 +236,8 @@ const formatPriceGiftOne = (it) => { | @@ -236,8 +236,8 @@ const formatPriceGiftOne = (it) => { | ||
236 | maxSelectNumber: it.max_select_number, | 236 | maxSelectNumber: it.max_select_number, |
237 | promotionType: it.promotion_type, | 237 | promotionType: it.promotion_type, |
238 | tag: PROMOTION_TYPE_TAG_MAP[it.promotion_type], | 238 | tag: PROMOTION_TYPE_TAG_MAP[it.promotion_type], |
239 | - isGift: 'Gift' === it.promotion_type, | ||
240 | - isPriceGift: 'Needpaygift' === it.promotion_type | 239 | + isGift: it.promotion_type === 'Gift', |
240 | + isPriceGift: it.promotion_type === 'Needpaygift' | ||
241 | }; | 241 | }; |
242 | 242 | ||
243 | gift.goodsList = _.map(it.goods_list, (g) => { | 243 | gift.goodsList = _.map(it.goods_list, (g) => { |
-
Please register or login to post a comment