[new feature] Sku: add add-cart-text prop (#3725)

This commit is contained in:
neverland
2019-07-02 17:00:05 +08:00
committed by GitHub
parent e7e015e9a4
commit 53e9468c2c
4 changed files with 9 additions and 1 deletions
+2
View File
@@ -23,6 +23,7 @@ export default createComponent({
quota: Number,
value: Boolean,
buyText: String,
addCartText: String,
quotaUsed: Number,
goodsId: [Number, String],
hideStock: Boolean,
@@ -453,6 +454,7 @@ export default createComponent({
<SkuActions
buyText={this.buyText}
skuEventBus={skuEventBus}
addCartText={this.addCartText}
showAddCartBtn={this.showAddCartBtn}
/>
);