From ddbe68d72d5ffacf6f7593e64d74fa5c9543ec65 Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Tue, 11 Mar 2025 10:41:06 +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 --- .../custom-pages/lingyue/components/generateDataDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/custom-pages/lingyue/components/generateDataDialog.js b/pc4mobx/hrmSalary/pages/custom-pages/lingyue/components/generateDataDialog.js index 84b2eb2f..1007c1ce 100644 --- a/pc4mobx/hrmSalary/pages/custom-pages/lingyue/components/generateDataDialog.js +++ b/pc4mobx/hrmSalary/pages/custom-pages/lingyue/components/generateDataDialog.js @@ -37,8 +37,8 @@ class GenerateDataDialog extends Component { if (nextProps.visible !== this.props.visible && !nextProps.visible) nextProps.LYStore.initDataForm(); } - initLYForm = () => { - const { type } = props; + initLYForm = (props) => { + const { type } = props || this.props; this.setState({ conditions: _.map(dataConditions, item => ({ ...item,