[breaking change] Sku: no longer support i18n (#1734)

This commit is contained in:
neverland
2018-08-31 10:41:19 +08:00
committed by GitHub
parent d32f9a42f3
commit 15375f4523
12 changed files with 315 additions and 700 deletions

View File

@@ -3,13 +3,13 @@
<van-button
v-if="showAddCartBtn"
bottom-action
:text="$t('cart')"
text="加入购物车"
@click="skuEventBus.$emit('sku:addCart')"
/>
<van-button
type="primary"
bottom-action
:text="buyText || $t('buy')"
:text="buyText || '立即购买'"
@click="skuEventBus.$emit('sku:buy')"
/>
</div>