From 5c02dc876c24ff015abddea07927df31d09be3cd Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Thu, 24 Apr 2025 14:37:36 +0800 Subject: [PATCH] =?UTF-8?q?release/3.0.1.2504.01-=E5=90=88=E5=B9=B6?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../datapush/components/PDDialog/customTreeSelect.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/datapush/components/PDDialog/customTreeSelect.js b/pc4mobx/hrmSalary/pages/datapush/components/PDDialog/customTreeSelect.js index e595e7dc..bc8ad18a 100644 --- a/pc4mobx/hrmSalary/pages/datapush/components/PDDialog/customTreeSelect.js +++ b/pc4mobx/hrmSalary/pages/datapush/components/PDDialog/customTreeSelect.js @@ -73,9 +73,14 @@ class CustomTreeSelect extends Component { const { itemName } = detail; return ( this.getSourceItem(node.props.value)} - onSelect={this.handleSelect}> + onSelect={this.handleSelect} + treeNodeFilterProp="title" + filterTreeNode={(inputValue, treeNode) => { + const title = treeNode.props.title.props ? treeNode.props.title.props.children[0].props.children : treeNode.props.title; + return title.toLowerCase().indexOf(inputValue.toLowerCase()) >= 0; + }}> { _.map(sourceList, o => (