docs: fix v-model api #7649
This commit is contained in:
+1
-1
@@ -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` |
|
||||
|
||||
@@ -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` |
|
||||
|
||||
Reference in New Issue
Block a user