Skip to content

Commit

Permalink
docs: Modify wrong API description
Browse files Browse the repository at this point in the history
  • Loading branch information
YyumeiZhang committed Jan 20, 2025
1 parent 4a82b3a commit 9514617
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion content/input/treeselect/index-en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ function Demo() {
| arrowIcon|Customize the right drop-down arrow Icon, when the showClear switch is turned on and there is currently a selected value, hover will give priority to the clear icon| ReactNode | | - |
|autoAdjustOverflow|Whether the pop-up layer automatically adjusts the direction when it is obscured (only vertical direction is supported for the time being, and the inserted parent is body)|boolean | true| - |
| autoExpandParent | Toggle whether to expand parent nodes automatically | boolean | false | - |
| autoMergeValue | Sets the automerge value. Specifically, when enabled, when a parent node is selected, value will include that node and its children. (Works if leafOnly is false)| boolean | true | 2.61.0 |
| autoMergeValue | Sets the automerge value. Specifically, when enabled, when a parent node is selected, the value will not include the descendants of the node. (Works if leafOnly is false)| boolean | true | 2.61.0 |
| borderless | borderless mode >=2.33.0 | boolean | |
| checkRelation | In multiple, the relationship between the checked states of the nodes, optional: 'related'、'unRelated' | string | 'related' | 2.5.0 |
| className | Class name | string | - | - |
Expand Down
2 changes: 1 addition & 1 deletion content/input/treeselect/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ function Demo() {
| arrowIcon | 自定义右侧下拉箭头Icon,当showClear开关打开且当前有选中值时,hover会优先显示clear icon | ReactNode | |
| autoAdjustOverflow| 浮层被遮挡时是否自动调整方向(暂时仅支持竖直方向,且插入的父级为 body) | boolean | true|
| autoExpandParent | 是否自动展开父节点 | boolean | false |
| autoMergeValue | 设置自动合并 value。具体而言是,开启后,当某个父节点被选中时,value 将包括该节点以及该子孙节点。(在leafOnly为false的情况下生效)。v2.61.0 后提供 | boolean | true |
| autoMergeValue | 设置自动合并 value。具体而言是,开启后,当某个父节点被选中时,value 将不包括该节点的子孙节点。(在leafOnly为false的情况下生效)。v2.61.0 后提供 | boolean | true |
| borderless | 无边框模式,v2.33.0后提供 | boolean | false |
| checkRelation | 多选时,节点之间选中状态的关系,可选:'related'、'unRelated'。v2.5.0后提供 | string | 'related' |
| className | 选择框的 `className` 属性 | string | - | - |
Expand Down
2 changes: 1 addition & 1 deletion content/navigation/tree/index-en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -2271,7 +2271,7 @@ import { IconFixedStroked, IconSectionStroked, IconAbsoluteStroked, IconInnerSec
| ------------------- | --------------------- | ------------------------------------------------- | ------- | ------ |
| autoExpandParent | Toggle whether to expand parent node automatically | boolean | false | 0.34.0 |
| autoExpandWhenDragEnter | Toggle whether allow autoExpand when drag enter node | boolean | true | 1.8.0 |
| autoMergeValue | Sets the automerge value. Specifically, when enabled, when a parent node is selected, value will include that node and its children. (Works if leafOnly is false)| boolean | true | 2.61.0 |
| autoMergeValue | Sets the automerge value. Specifically, when enabled, when a parent node is selected, the value will not include the descendants of the node. (Works if leafOnly is false)| boolean | true | 2.61.0 |
| blockNode | Toggle whether to display node as row | boolean | true | - |
| checkRelation | In multiple, the relationship between the checked states of the nodes, optional: 'related'、'unRelated' | string | 'related' | 2.5.0 |
| className | Class name| string | - | - |
Expand Down
2 changes: 1 addition & 1 deletion content/navigation/tree/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2286,7 +2286,7 @@ import { IconFixedStroked, IconSectionStroked, IconAbsoluteStroked, IconInnerSec
|------------- | ----------- | -------------- | -------------- | --------|
| autoExpandParent | 是否自动展开父节点,默认为 false,当组件初次挂载时为 true | boolean | false | 0.34.0 |
| autoExpandWhenDragEnter | 是否允许拖拽到节点上时自动展开改节点 | boolean | true | 1.8.0 |
| autoMergeValue | 设置自动合并 value。具体而言是,开启后,当某个父节点被选中时,value 将包括该节点以及该子孙节点。(在leafOnly为false的情况下生效)| boolean | true | 2.61.0 |
| autoMergeValue | 设置自动合并 value。具体而言是,开启后,当某个父节点被选中时,value 将不包括该节点的子孙节点。(在leafOnly为false的情况下生效)| boolean | true | 2.61.0 |
| blockNode | 行显示节点 | boolean | true | - |
| checkRelation | 多选时,节点之间选中状态的关系,可选:'related'、'unRelated' | string | 'related' | 2.5.0 |
| className | 类名 | string | - | - |
Expand Down

0 comments on commit 9514617

Please sign in to comment.