Merge branch 'hotfix/seckills' into 'release/5.4'
秒杀详情页无用代码 预设场景:该商品在秒杀开始前被加入购物车,在秒杀开始后进入购物车,当操作该订单时,跳到秒杀详情页 实际场景:该商品会在购物车置灰,提示订单已失效,不能结算 See merge request !104
Showing
1 changed file
with
1 additions
and
2 deletions
@@ -766,9 +766,8 @@ $yohoPage.on('touchstart', '.btn-minus', function() { | @@ -766,9 +766,8 @@ $yohoPage.on('touchstart', '.btn-minus', function() { | ||
766 | if (cbFn) { | 766 | if (cbFn) { |
767 | cbFn(); | 767 | cbFn(); |
768 | } | 768 | } |
769 | - } else { // 调秒杀详情页,待修改状态码 | ||
770 | - window.location.href = '/product/seckill/show_' + $('#productSkn').val() + '.html'; | ||
771 | } | 769 | } |
770 | + | ||
772 | if (res.message && !isEdit) { | 771 | if (res.message && !isEdit) { |
773 | tip.show(res.message); | 772 | tip.show(res.message); |
774 | } | 773 | } |
-
Please register or login to post a comment