Skip to content

Commit 00551b6

Browse files
committed
doc: update, close 5350
1 parent 120980c commit 00551b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/tree/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Almost anything can be represented in a tree structure. Examples include directo
1717

1818
| Property | Description | Type | Default | Version |
1919
| --- | --- | --- | --- | --- |
20-
| autoExpandParent | Whether to automatically expand a parent treeNode | boolean | true | |
20+
| autoExpandParent | Whether to automatically expand a parent treeNode | boolean | false | |
2121
| blockNode | Whether treeNode fill remaining horizontal space | boolean | false | |
2222
| checkable | Adds a `Checkbox` before the treeNodes | boolean | false | |
2323
| checkedKeys(v-model) | (Controlled) Specifies the keys of the checked treeNodes (PS: When this specifies the key of a treeNode which is also a parent treeNode, all the children treeNodes of will be checked; and vice versa, when it specifies the key of a treeNode which is a child treeNode, its parent treeNode will also be checked. When `checkable` and `checkStrictly` is true, its object has `checked` and `halfChecked` property. Regardless of whether the child or parent treeNode is checked, they won't impact each other. | string\[] \| number\[] \| {checked: string\[] \| number\[], halfChecked: string\[] \| number\[]} | \[] | |

components/tree/index.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/Xh-oWqg9k/Tree.svg
1818

1919
| 参数 | 说明 | 类型 | 默认值 | 版本 | |
2020
| --- | --- | --- | --- | --- | --- |
21-
| autoExpandParent | 是否自动展开父节点 | boolean | true | | |
21+
| autoExpandParent | 是否自动展开父节点 | boolean | false | | |
2222
| blockNode | 是否节点占据一行 | boolean | false | | |
2323
| checkable | 节点前添加 Checkbox 复选框 | boolean | false | | |
2424
| checkedKeys(v-model) | (受控)选中复选框的树节点(注意:父子节点有关联,如果传入父节点 key,则子节点自动选中;相应当子节点 key 都传入,父节点也自动选中。当设置`checkable``checkStrictly`,它是一个有`checked``halfChecked`属性的对象,并且父子节点的选中与否不再关联 | string\[] \| number\[] \| {checked: string\[] \| number\[], halfChecked: string\[] \| number\[]} | \[] | | |

0 commit comments

Comments
 (0)