docs: simplify $t to t

This commit is contained in:
chenjiahan
2020-03-21 14:46:02 +08:00
parent 10f32d6619
commit d8fa4b9495
80 changed files with 918 additions and 950 deletions
+4 -4
View File
@@ -1,15 +1,15 @@
<template>
<demo-block :title="$t('insertButton')">
<demo-block :title="t('insertButton')">
<van-field
v-model="sms"
center
clearable
:label="$t('sms')"
:placeholder="$t('smsPlaceholder')"
:label="t('sms')"
:placeholder="t('smsPlaceholder')"
>
<template #button>
<van-button size="small" type="primary">
{{ $t('sendSMS') }}
{{ t('sendSMS') }}
</van-button>
</template>
</van-field>