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
+6 -6
View File
@@ -1,20 +1,20 @@
<template>
<demo-section>
<demo-block :title="$t('basicUsage')">
<demo-block :title="t('basicUsage')">
<van-cell-group>
<van-switch-cell v-model="checked" :title="$t('title')" />
<van-switch-cell v-model="checked" :title="t('title')" />
</van-cell-group>
</demo-block>
<demo-block :title="$t('disabled')">
<demo-block :title="t('disabled')">
<van-cell-group>
<van-switch-cell v-model="checked" disabled :title="$t('title')" />
<van-switch-cell v-model="checked" disabled :title="t('title')" />
</van-cell-group>
</demo-block>
<demo-block :title="$t('loadingStatus')">
<demo-block :title="t('loadingStatus')">
<van-cell-group>
<van-switch-cell v-model="checked" loading :title="$t('title')" />
<van-switch-cell v-model="checked" loading :title="t('title')" />
</van-cell-group>
</demo-block>
</demo-section>