pages/cart/index.js
@@ -20,7 +20,9 @@ }); this.shoppingCartGet(); }, onShow() { this.shoppingCartGet(); }, onDelete(e) { const item = e.currentTarget.dataset.item; app.MG.store.delShoppingCart({ @@ -125,5 +127,10 @@ direction: 'column', }); } }, onLogin() { wx.navigateTo({ url: '/pages/testLogin/index' }); } });