From bd002a8ecb827e8b2a8d9ae3a0c9c16a0a9906b4 Mon Sep 17 00:00:00 2001 From: mullins <476823686@qq.com> Date: Tue, 9 Jun 2020 23:39:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/cart/cart.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pages/cart/cart.vue b/src/pages/cart/cart.vue index 4612a9d..3316917 100644 --- a/src/pages/cart/cart.vue +++ b/src/pages/cart/cart.vue @@ -158,9 +158,6 @@ export default { }, }, onShow() { - this.cartList = this.$store.state.cart.cartList - }, - onLoad: async function() { await this.$store.dispatch('cart/getCartList', { uid: this.$store.state.user.userInfo.uid, // 用户id }) @@ -170,6 +167,8 @@ export default { item.isChecked = false }) }, + onLoad: async function() { + }, methods: { // 全选按钮 pClick() { -- 2.0.0