From 21f375b7d759349d09611e590547fed9ac342b41 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 25 Aug 2017 17:20:11 +0800 Subject: [PATCH] update TreeSelect doc --- components/tree-select/index.en-US.md | 2 +- components/tree-select/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tree-select/index.en-US.md b/components/tree-select/index.en-US.md index 2c14f0c290..1f73950280 100644 --- a/components/tree-select/index.en-US.md +++ b/components/tree-select/index.en-US.md @@ -37,7 +37,7 @@ showCheckedStrategy | The way show selected item in box. __Default:__ just show treeDefaultExpandAll | Whether to expand all treeNodes by default | boolean | false treeDefaultExpandedKeys | Default expanded treeNodes | string[] | - treeCheckable | Whether to show checkbox on the treeNodes | boolean | false -treeCheckStrictly | Whether to check nodes precisely(in the `checkable` mode), means parent and child nodes are not associated | boolean | false +treeCheckStrictly | Whether to check nodes precisely (in the `checkable` mode), means parent and child nodes are not associated, and it will make `labelInValue` be true | boolean | false filterTreeNode | Whether to filter treeNodes by input value. The value of `treeNodeFilterProp` is used for filtering by default. | boolean\|Function(inputValue: string, treeNode: TreeNode) (should return boolean) | Function treeNodeFilterProp | Will be used for filtering if `filterTreeNode` returns true | string | 'value' treeNodeLabelProp | Will render as content of select | string | 'title' diff --git a/components/tree-select/index.zh-CN.md b/components/tree-select/index.zh-CN.md index 33a3983ffc..354397cbd1 100644 --- a/components/tree-select/index.zh-CN.md +++ b/components/tree-select/index.zh-CN.md @@ -36,7 +36,7 @@ title: TreeSelect | treeDefaultExpandAll | 默认展开所有树节点 | boolean | false | | treeDefaultExpandedKeys | 默认展开的树节点 | string[] | - | | treeCheckable | 显示 checkbox | boolean | false | -| treeCheckStrictly | checkable 状态下节点选择完全受控(父子节点选中状态不再关联)| boolean | false | +| treeCheckStrictly | checkable 状态下节点选择完全受控(父子节点选中状态不再关联),会使得 `labelInValue` 强制为 true | boolean | false | | filterTreeNode | 是否根据输入项进行筛选,默认用 treeNodeFilterProp 的值作为要筛选的 TreeNode 的属性值 | boolean\|Function(inputValue: string, treeNode: TreeNode) (函数需要返回bool值) | Function | | treeNodeFilterProp | 输入项过滤对应的 treeNode 属性 | string | 'value' | | treeNodeLabelProp | 作为显示的 prop 设置 | string | 'title' |