pages/cart/index.js
@@ -25,9 +25,13 @@ this.shoppingCartGet(); }, onShow() { if (typeof this.getTabBar === 'function' && this.getTabBar()) { this.getTabBar().setData({ active: 3 }) } this.shoppingCartGet(); this.setData({ totalPrice: 0.00, selectedCount: 0, checkAll: false, }) }, onDelete(e) { const item = e.currentTarget.dataset.item;