Browse Source

修改商品数量减少到1才会更新

master
gaoxs 5 years ago
parent
commit
127b460052
  1. 3
      pages/shop/GoodsCon/index.vue

3
pages/shop/GoodsCon/index.vue

@ -475,6 +475,9 @@ export default {
if (num.cart_num < 1) {
this.$set(this.attr.productSelect, "cart_num", 1);
this.$set(this, "cart_num", 1);
} else {
this.$set(this.attr.productSelect, "cart_num", num.cart_num);
this.$set(this, "cart_num", num.cart_num);
}
}
},

Loading…
Cancel
Save