docs(DropdownItem): fix v-model document (#8043)

This commit is contained in:
neverland 2021-01-31 15:58:28 +08:00 committed by GitHub
parent 4834549d9f
commit 6a3d716f6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ Use `active-color` prop to custom active color of the title and options.
| Attribute | Description | Type | Default |
| --- | --- | --- | --- |
| value | Value of current optioncan use `v-model` | _number \| string_ | - |
| v-model | Value of current option | _number \| string_ | - |
| title | Item title | _string_ | Text of selected option |
| options | Options | _Option[]_ | `[]` |
| disabled | Whether to disable dropdown item | _boolean_ | `false` |

View File

@ -161,7 +161,7 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| value | 当前选中项对应的 value可以通过`v-model`双向绑定 | _number \| string_ | - |
| v-model | 当前选中项对应的 value | _number \| string_ | - |
| title | 菜单项标题 | _string_ | 当前选中项文字 |
| options | 选项数组 | _Option[]_ | `[]` |
| disabled | 是否禁用菜单 | _boolean_ | `false` |