From b7b23bafeeef15c9fd12f061a9a72b7070b7e960 Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Fri, 14 Jun 2024 08:15:45 +0800 Subject: [PATCH] 1 --- pages/order_addcart/order_addcart.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pages/order_addcart/order_addcart.vue b/pages/order_addcart/order_addcart.vue index 0868b32..1c842e4 100644 --- a/pages/order_addcart/order_addcart.vue +++ b/pages/order_addcart/order_addcart.vue @@ -264,12 +264,11 @@ this.getNav(); // uni.showTabBar(); if (this.isLogin == true) { - this.isAllSelect = true; //全不选 this.getCartList(); this.getCartNum(); this.goodsHidden = true; this.footerswitch = true; - + this.isAllSelect = true; //全不选 this.selectValue = []; //选中的数据 this.isShowAuth = false; uni.setStorage({ @@ -680,8 +679,7 @@ item.list.forEach(p=>{ newArr.forEach(i=>{ if(p.product_id==i){ - console.log(i) - p.check=true + this.$set(p,'check',true) } })