liudan 6 months ago
parent cd6a723e2d
commit b7b23bafee
  1. 6
      pages/order_addcart/order_addcart.vue

@ -264,12 +264,11 @@
this.getNav(); this.getNav();
// uni.showTabBar(); // uni.showTabBar();
if (this.isLogin == true) { if (this.isLogin == true) {
this.isAllSelect = true; //
this.getCartList(); this.getCartList();
this.getCartNum(); this.getCartNum();
this.goodsHidden = true; this.goodsHidden = true;
this.footerswitch = true; this.footerswitch = true;
this.isAllSelect = true; //
this.selectValue = []; // this.selectValue = []; //
this.isShowAuth = false; this.isShowAuth = false;
uni.setStorage({ uni.setStorage({
@ -680,8 +679,7 @@
item.list.forEach(p=>{ item.list.forEach(p=>{
newArr.forEach(i=>{ newArr.forEach(i=>{
if(p.product_id==i){ if(p.product_id==i){
console.log(i)
p.check=true
this.$set(p,'check',true) this.$set(p,'check',true)
} }
}) })

Loading…
Cancel
Save