mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(DropdownItem): fix v-model document (#8043)
This commit is contained in:
parent
4834549d9f
commit
6a3d716f6e
@ -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 option,can 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` |
|
||||
|
@ -161,7 +161,7 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| --- | --- | --- | --- |
|
||||
| value | 当前选中项对应的 value,可以通过`v-model`双向绑定 | _number \| string_ | - |
|
||||
| v-model | 当前选中项对应的 value | _number \| string_ | - |
|
||||
| title | 菜单项标题 | _string_ | 当前选中项文字 |
|
||||
| options | 选项数组 | _Option[]_ | `[]` |
|
||||
| disabled | 是否禁用菜单 | _boolean_ | `false` |
|
||||
|
Loading…
x
Reference in New Issue
Block a user