balance cannot click when current not .hide content has no .checked
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -16,7 +16,7 @@ var $cartContent = $('.cart-content'); | @@ -16,7 +16,7 @@ var $cartContent = $('.cart-content'); | ||
16 | var navHammer, | 16 | var navHammer, |
17 | cartType = $('#cartType').val(); | 17 | cartType = $('#cartType').val(); |
18 | 18 | ||
19 | -var hasChecked = $('.cart-goods .icon-cb-checked').length > 0 ? true : false; //是否有选中商品 | 19 | +var hasChecked = $('.cart-content:not(.hide) .icon-cb-checked').length > 0 ? true : false; //是否有选中商品 |
20 | 20 | ||
21 | require('./good'); | 21 | require('./good'); |
22 | 22 |
-
Please register or login to post a comment