docs: fix v-model api #7649

This commit is contained in:
chenjiahan
2020-11-30 22:07:21 +08:00
parent d5b64a9538
commit 5723c8a6bb
10 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ Use `input-align` prop to align the input value.
| Attribute | Description | Type | Default |
| --- | --- | --- | --- |
| v-model (value) | Field value | _number \| string_ | - |
| v-model | Field value | _number \| string_ | - |
| label | Field label | _string_ | - |
| name `v2.5.0` | Name | _string_ | - |
| type | Input type, can be set to `tel` `digit`<br>`number` `textarea` `password` | _string_ | `text` |
+1 -1
View File
@@ -244,7 +244,7 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| v-model (value) | 当前输入的值 | _number \| string_ | - |
| v-model | 当前输入的值 | _number \| string_ | - |
| label | 输入框左侧文本 | _string_ | - |
| name `v2.5.0` | 名称,提交表单的标识符 | _string_ | - |
| type | 输入框类型, 可选值为 `tel` `digit`<br>`number` `textarea` `password` 等 | _string_ | `text` |