docs(NumberKeyboard): add maxlength description (#8877)

This commit is contained in:
neverland
2021-06-17 19:12:18 +08:00
committed by GitHub
parent e4d720a261
commit 41d95829ba

View File

@@ -141,7 +141,7 @@ export default {
### 双向绑定
可以通过 `v-model` 绑定键盘当前输入值。
可以通过 `v-model` 绑定键盘当前输入值,并通过 `maxlength` 属性来限制输入长度
```html
<van-field v-model="value" readonly clickable @touchstart.stop="show = true" />