mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[breaking change] Sku: no longer support i18n (#1734)
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user