[Doc] detailed Array typing

This commit is contained in:
陈嘉涵
2019-07-11 20:44:51 +08:00
parent 019c75506a
commit 2c4adff307
34 changed files with 67 additions and 66 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ export default {
|------|------|------|------|------|
| value | Value of current optioncan use `v-model` | `string | number` | - |
| title | Item title | `string` | Text of selected option |
| options | Options | `Array` | `[]` |
| options | Options | `Option[]` | `[]` |
| disabled | Whether to disable dropdown item | `boolean` | `false` |
| title-class | Title class | `string` | - |
+1 -1
View File
@@ -118,7 +118,7 @@ export default {
|------|------|------|------|------|
| value | 当前选中项对应的 value,可以通过`v-model`双向绑定 | `string | number` | - | - |
| title | 菜单项标题 | `string` | 当前选中项文字 | - |
| options | 选项数组 | `Array` | `[]` | - |
| options | 选项数组 | `Option[]` | `[]` | - |
| disabled | 是否禁用菜单 | `boolean` | `false` | - |
| title-class | 标题额外类名 | `string` | - | - |