购物车修改 code review by zhaobiao
Showing
1 changed file
with
0 additions
and
2 deletions
@@ -310,7 +310,6 @@ $yohoPage.on('touchstart', '.btn-minus', function() { | @@ -310,7 +310,6 @@ $yohoPage.on('touchstart', '.btn-minus', function() { | ||
310 | 310 | ||
311 | promotionId, | 311 | promotionId, |
312 | isEdit = 0, | 312 | isEdit = 0, |
313 | - numInCart = $('.num-tag').html() - 0, | ||
314 | num = parseInt($num.val(), 10); | 313 | num = parseInt($num.val(), 10); |
315 | 314 | ||
316 | //颜色尺码没有选择 | 315 | //颜色尺码没有选择 |
@@ -322,7 +321,6 @@ $yohoPage.on('touchstart', '.btn-minus', function() { | @@ -322,7 +321,6 @@ $yohoPage.on('touchstart', '.btn-minus', function() { | ||
322 | return; | 321 | return; |
323 | } | 322 | } |
324 | 323 | ||
325 | - | ||
326 | //TODO status change | 324 | //TODO status change |
327 | if ($('#chose-btn-sure').html() === '已售罄') { | 325 | if ($('#chose-btn-sure').html() === '已售罄') { |
328 | return; | 326 | return; |
-
Please register or login to post a comment