docs: fix field value #7817

This commit is contained in:
chenjiahan
2020-12-27 16:57:17 +08:00
parent a524b5284f
commit 4d49183230
7 changed files with 29 additions and 17 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ Use `title` prop to set keyboard title.
### Bind Value
```html
<van-field readonly clickable :value="value" @touchstart.stop="show = true" />
<van-field v-model="value" readonly clickable @touchstart.stop="show = true" />
<van-number-keyboard
v-model="value"
:show="show"
+1 -1
View File
@@ -131,7 +131,7 @@ export default {
可以通过 `v-model` 绑定键盘当前输入值。
```html
<van-field readonly clickable :value="value" @touchstart.stop="show = true" />
<van-field v-model="value" readonly clickable @touchstart.stop="show = true" />
<van-number-keyboard
v-model="value"
:show="show"