Showing
1 changed file
with
1 additions
and
1 deletions
@@ -1223,7 +1223,7 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => { | @@ -1223,7 +1223,7 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => { | ||
1223 | result.promotion = ((salePriceNum / marketPriceNum) * 10).toFixed(1); | 1223 | result.promotion = ((salePriceNum / marketPriceNum) * 10).toFixed(1); |
1224 | 1224 | ||
1225 | // 只显示大于1折小于9折的折扣 | 1225 | // 只显示大于1折小于9折的折扣 |
1226 | - if (1.0 >= result.promotion || 9.0 >= result.promotion) { | 1226 | + if (result.promotion >= 1.0 || result.promotion >= 9.0) { |
1227 | result.promotion = false; | 1227 | result.promotion = false; |
1228 | } | 1228 | } |
1229 | } | 1229 | } |
-
Please register or login to post a comment