docs: improve Form demo (#9149)

This commit is contained in:
neverland
2021-07-29 10:21:56 +08:00
committed by GitHub
parent 82bed7711c
commit 8a0f7ff3f0
14 changed files with 36 additions and 37 deletions
+1 -1
View File
@@ -217,8 +217,8 @@ export default {
```html
<van-field
v-model="state.value"
is-link
readonly
clickable
label="City"
placeholder="Choose City"
@click="state.showPicker = true"
+1 -1
View File
@@ -241,8 +241,8 @@ export default {
```html
<van-field
v-model="state.value"
is-link
readonly
clickable
label="城市"
placeholder="选择城市"
@click="state.showPicker = true"
+1 -1
View File
@@ -49,8 +49,8 @@
<demo-block card v-if="!isWeapp" :title="t('withPopup')">
<van-field
v-model="fieldValue"
is-link
readonly
clickable
:label="t('city')"
:placeholder="t('chooseCity')"
@click="onClickField"
@@ -692,6 +692,8 @@ exports[`should render demo and match snapshot 1`] = `
>
</div>
</div>
<i class="van-badge__wrapper van-icon van-icon-arrow van-cell__right-icon">
</i>
</div>
<transition-stub>
</transition-stub>