Fix:2999 【商城小程序】在当前页面增减商品数量,关闭规格选择后再次打开,商品数量显示为1,点击增减,商品数量变为在之前填写的数量基础上增减
This commit is contained in:
@@ -1251,6 +1251,7 @@ export default {
|
||||
changeattr(msg) {
|
||||
// 修改了规格
|
||||
this.attr.cartAttr = msg
|
||||
this.$set(this.attr.productSelect, 'cart_num', 1)
|
||||
this.isOpen = false
|
||||
},
|
||||
// 选择属性
|
||||
|
||||
Reference in New Issue
Block a user