Commit c928314a authored by baiyaaaaa's avatar baiyaaaaa Committed by 杨奕

fix command

parent 51378670
......@@ -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
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment