Commit 0d4d8f532e3eb5bb26962cd71b8a238d577280e5
1 parent
87140699
秒杀购买在立即购买回退的时候, 数量限购数量错误的bug优化
Showing
1 changed file
with
3 additions
and
0 deletions
pages/goods/goodsInfo/goodsInfo.js
... | ... | @@ -1815,6 +1815,9 @@ Page({ |
1815 | 1815 | } |
1816 | 1816 | } |
1817 | 1817 | |
1818 | + //如果是普通购买的情况下 | |
1819 | + if(th.data.openSpecModal_flash_normal) th.data.is_normal=1; | |
1820 | + | |
1818 | 1821 | //--判断商品是否超出活动限购-- |
1819 | 1822 | if (th.data.prom_buy_num != -1 && th.data.prom_buy_limit > 0 && !th.data.is_normal) { |
1820 | 1823 | if (t + th.data.prom_buy_num > th.data.prom_buy_limit) { | ... | ... |