mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
parent
e8fc686dcf
commit
8e8c0b4db3
@ -49,7 +49,7 @@ Almost anything can be represented in a tree structure. Examples include directo
|
||||
|disableCheckbox | Disables the checkbox of the treeNode | boolean | false |
|
||||
|title | Title | string\|ReactNode | '---' |
|
||||
|key | Used with (default)ExpandedKeys / (default)CheckedKeys / (default)SelectedKeys. P.S.: It must be unique in all of treeNodes of the tree! | string | internal calculated position of treeNode |
|
||||
|isLeaf | Determines if this is a leaf node | boolean | false |
|
||||
|isLeaf | Determines if this is a leaf node(effective when `loadData` is specified) | boolean | false |
|
||||
|
||||
## Note
|
||||
|
||||
|
@ -50,7 +50,7 @@ subtitle: 树形控件
|
||||
|disableCheckbox | 禁掉 checkbox | boolean | false |
|
||||
|title | 标题 | string\|ReactNode | '---' |
|
||||
|key | 被树的 (default)ExpandedKeys / (default)CheckedKeys / (default)SelectedKeys 属性所用。注意:整个树范围内的所有节点的 key 值不能重复! | string | 内部计算出的节点位置 |
|
||||
|isLeaf | 设置为叶子节点 | boolean | false |
|
||||
|isLeaf | 设置为叶子节点(设置了`loadData`时有效) | boolean | false |
|
||||
|
||||
## 注意
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user