...
|
...
|
@@ -57,7 +57,8 @@ class ChosePanel { |
|
|
this.maxBuyNum = this.data.cartInfo.limit || 0; // 0表示不限制购买
|
|
|
this.skus = this.data.cartInfo.skus || [];
|
|
|
this.props = this.data.cartInfo.props || [];
|
|
|
this.buyNum = this.minBuyNum = this._defaultBuyNum();
|
|
|
this.buyNum = this._defaultBuyNum();
|
|
|
this.minBuyNum = (this.modes.discount && this.data.discountBuy.num) || 1;
|
|
|
this.setting = {
|
|
|
disableNum: this.disableNum,
|
|
|
noChoseText: `请选择${this.props.map(prop => prop.name).join('、')}`,
|
...
|
...
|
|