fix command

This commit is contained in:
baiyaaaaa 2017-08-02 23:34:34 +08:00 committed by 杨奕
parent 5137867044
commit c928314ac7
3 changed files with 3 additions and 3 deletions

View File

@ -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 |

View File

@ -221,6 +221,6 @@
### Dropdown Menu Item Attributes
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|------------- |---------------- |---------------- |---------------------- |-------- |
| command | 指令 | string | — | — |
| command | 指令 | string/number/object | — | — |
| disabled | 禁用 | boolean | — | false |
| divided | 显示分割线 | boolean | — | false |

View File

@ -19,7 +19,7 @@
mixins: [Emitter],
props: {
command: null,
command: {},
disabled: Boolean,
divided: Boolean
},