[new feature] TreeSelect: add content slot (#4105)

This commit is contained in:
neverland
2019-08-12 19:15:11 +08:00
committed by GitHub
parent 6413cd1996
commit 317b115da8
5 changed files with 102 additions and 54 deletions
+6
View File
@@ -63,6 +63,12 @@ export default {
| click-nav | 点击左侧导航时触发 | index:被点击的导航的索引 |
| click-item | 点击右侧选择项时触发 | data: 该点击项的数据 |
### Slots
| 名称 | 说明 |
|------|------|
| content | 自定义右侧区域内容 |
### Item 数据结构
`items` 整体为一个数组,数组内包含一系列描述分类的对象。