chore: prettier all demos

This commit is contained in:
陈嘉涵
2020-01-19 15:39:00 +08:00
parent 207e80f396
commit 82208c42b8
55 changed files with 646 additions and 498 deletions
+3 -14
View File
@@ -2,30 +2,19 @@
<demo-section>
<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')">
<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')">
<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>