Authored by 郭成尧

chose-panel-goods-nums

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