Skip to content
My Awesome Project
Main Navigation
首页
组件
Appearance
Menu
Return to top
On this page
Tree 树
获取选中的key
Level one 1
Level two 1-1
Level three 1-1-1
Level one 2
Level two 2-1
Level three 2-1-1
Level two 2-2
Level three 2-2-1
Level one 3
Level two 3-1
Level three 3-1-1
Level two 3-2
Level three 3-2-1
Level two 3-3
显示代码
props
参数
说明
类型
可选值
默认值
data
数据源
Array
-
-
label
节点名称
String
-
-
children
子节点名称
String
-
-
事件
事件名称
说明
回调参数
handleClickNode
点击节点
-
expose
方法名称
说明
回调参数
getCheckedNodes
获取选中节点
-
setCheckedNodes
设置选中节点
-