Skip to content

Commit f64d071

Browse files
authored
docs: Change the default values of attributes (#7744)
1 parent 968317c commit f64d071

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/tree/index.en-US.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Almost anything can be represented in a tree structure. Examples include directo
7474
| disableCheckbox | Disables the checkbox of the treeNode | boolean | false | |
7575
| disabled | Disables the treeNode | boolean | false | |
7676
| icon | customize icon. When you pass component, whose render will receive full TreeNode props as component props | slot\|slot-scope | - | |
77-
| isLeaf | Determines if this is a leaf node(effective when `loadData` is specified) | boolean | false | |
77+
| isLeaf | Determines if this is a leaf node(effective when `loadData` is specified) | boolean | - | |
7878
| key | Used with (default)ExpandedKeys / (default)CheckedKeys / (default)SelectedKeys. P.S.: It must be unique in all of treeNodes of the tree! | string \| number | internal calculated position of treeNode | |
7979
| selectable | Set whether the treeNode can be selected | boolean | true | |
8080
| style | style | string\|object | - | |

components/tree/index.zh-CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*1GeUQJPTGUYAAA
7575
| disableCheckbox | 禁掉 checkbox | boolean | false | |
7676
| disabled | 禁掉响应 | boolean | false | |
7777
| icon | 自定义图标。可接收组件,props 为当前节点 props | slot\|slot-scope | - | |
78-
| isLeaf | 设置为叶子节点(设置了`loadData`时有效) | boolean | false | |
78+
| isLeaf | 设置为叶子节点(设置了`loadData`时有效) | boolean | - | |
7979
| key | 被树的 (default)ExpandedKeys / (default)CheckedKeys / (default)SelectedKeys 属性所用。注意:整个树范围内的所有节点的 key 值不能重复! | string \| number | 内部计算出的节点位置 | |
8080
| selectable | 设置节点是否可被选中 | boolean | true | |
8181
| style | 节点的 style | string\|object | - | |

0 commit comments

Comments
 (0)