mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-01 03:38:30 +08:00
fix command
This commit is contained in:
parent
5137867044
commit
c928314ac7
@ -221,6 +221,6 @@ Clicking each dropdown item fires an event whose parameter is assigned by each i
|
||||
### Dropdown Menu Item Attributes
|
||||
| Attribute | Description | Type | Accepted Values | Default |
|
||||
|------------- |---------------- |---------------- |---------------------- |-------- |
|
||||
| command | a command to be dispatched to Dropdown's `command` callback | string | — | — |
|
||||
| command | a command to be dispatched to Dropdown's `command` callback | string/number/object | — | — |
|
||||
| disabled | whether the item is disabled | boolean | — | false |
|
||||
| divided | whether a divider is displayed | boolean | — | false |
|
||||
|
@ -221,6 +221,6 @@
|
||||
### Dropdown Menu Item Attributes
|
||||
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
||||
|------------- |---------------- |---------------- |---------------------- |-------- |
|
||||
| command | 指令 | string | — | — |
|
||||
| command | 指令 | string/number/object | — | — |
|
||||
| disabled | 禁用 | boolean | — | false |
|
||||
| divided | 显示分割线 | boolean | — | false |
|
||||
|
@ -19,7 +19,7 @@
|
||||
mixins: [Emitter],
|
||||
|
||||
props: {
|
||||
command: null,
|
||||
command: {},
|
||||
disabled: Boolean,
|
||||
divided: Boolean
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user