Authored by 郭成尧

chose-panel-goods-nums

... ... @@ -112,7 +112,8 @@ class ChosePanel {
return '加入购物车';
}
_defaultBuyNum() {
return this.modes.discount && this.data.discountBuy.num || 1;
return (this.modes.discount && this.data.discountBuy.num) ||
(this.data.cartInfo && this.data.cartInfo.num) || 1;
}
/**
... ...