From 28f3eac7ec4a91f564ff68a62917bab3687bef1e Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Fri, 24 Jan 2025 10:25:48 +0800 Subject: [PATCH] =?UTF-8?q?custom/=E9=A2=86=E6=82=A6=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/CustomBrowser/components/customBrowserDialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pc4mobx/hrmSalary/components/CustomBrowser/components/customBrowserDialog.js b/pc4mobx/hrmSalary/components/CustomBrowser/components/customBrowserDialog.js index 8f69216b..7be452c4 100644 --- a/pc4mobx/hrmSalary/components/CustomBrowser/components/customBrowserDialog.js +++ b/pc4mobx/hrmSalary/components/CustomBrowser/components/customBrowserDialog.js @@ -35,6 +35,7 @@ class CustomBrowserDialog extends Component { componentWillReceiveProps(nextProps, nextContext) { if (nextProps.visible !== this.props.visible && nextProps.visible) { this.getData(); + this.selectedData = !_.isEmpty(nextProps.datas) ? nextProps.datas : {}; this.setState({ selectedRowKeys: nextProps.selectedValues, leftListSelectedData: _.values(nextProps.datas), rightDatas: _.values(nextProps.datas)