[improvement] TreeSelect: add height prop (#1905)

This commit is contained in:
neverland
2018-10-09 17:08:57 +08:00
committed by GitHub
parent ae15bbd141
commit 396819c355
7 changed files with 23 additions and 20 deletions
+2 -1
View File
@@ -50,7 +50,8 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
|-----------|-----------|-----------|-------------|
| items | 分类显示所需的数据,具体数据结构可看 数据结构 | `Array` | `[]` |
| items | 分类显示所需的数据,结构参见下方 | `Array` | `[]` |
| height | 高度,单位为 px | `Number` | `300` |
| main-active-index | 左侧导航高亮的索引 | `Number` | `0` |
| active-id | 右侧选择项,高亮的数据id | `String | Number` | `0` |