[Doc] Field: add left-icon demo (#1177)

This commit is contained in:
neverland
2018-05-28 17:59:08 +08:00
committed by GitHub
parent 0a6afa2545
commit 155930192b
4 changed files with 11 additions and 2 deletions
+6 -1
View File
@@ -29,7 +29,12 @@
<demo-block :title="$t('title3')">
<van-cell-group>
<van-field :value="$t('inputDisabled')" :label="$t('username')" disabled />
<van-field
:value="$t('inputDisabled')"
:label="$t('username')"
left-icon="contact"
disabled
/>
</van-cell-group>
</demo-block>