From 00551b6263a686197ab51d6221d8ad8ddd8a9fb1 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Fri, 18 Mar 2022 09:41:02 +0800 Subject: [PATCH] doc: update, close 5350 --- components/tree/index.en-US.md | 2 +- components/tree/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tree/index.en-US.md b/components/tree/index.en-US.md index 4e10df974..b20b65f12 100644 --- a/components/tree/index.en-US.md +++ b/components/tree/index.en-US.md @@ -17,7 +17,7 @@ Almost anything can be represented in a tree structure. Examples include directo | Property | Description | Type | Default | Version | | --- | --- | --- | --- | --- | -| autoExpandParent | Whether to automatically expand a parent treeNode | boolean | true | | +| autoExpandParent | Whether to automatically expand a parent treeNode | boolean | false | | | blockNode | Whether treeNode fill remaining horizontal space | boolean | false | | | checkable | Adds a `Checkbox` before the treeNodes | boolean | false | | | 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\[]} | \[] | | diff --git a/components/tree/index.zh-CN.md b/components/tree/index.zh-CN.md index 89cf32eb3..48bced1b2 100644 --- a/components/tree/index.zh-CN.md +++ b/components/tree/index.zh-CN.md @@ -18,7 +18,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/Xh-oWqg9k/Tree.svg | 参数 | 说明 | 类型 | 默认值 | 版本 | | | --- | --- | --- | --- | --- | --- | -| autoExpandParent | 是否自动展开父节点 | boolean | true | | | +| autoExpandParent | 是否自动展开父节点 | boolean | false | | | | blockNode | 是否节点占据一行 | boolean | false | | | | checkable | 节点前添加 Checkbox 复选框 | boolean | false | | | | checkedKeys(v-model) | (受控)选中复选框的树节点(注意:父子节点有关联,如果传入父节点 key,则子节点自动选中;相应当子节点 key 都传入,父节点也自动选中。当设置`checkable`和`checkStrictly`,它是一个有`checked`和`halfChecked`属性的对象,并且父子节点的选中与否不再关联 | string\[] \| number\[] \| {checked: string\[] \| number\[], halfChecked: string\[] \| number\[]} | \[] | | |