From b25c3f5f1f8d5f91fae7ed933ce8ab9f74c8048b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Fri, 19 Jan 2024 13:44:34 +0800 Subject: [PATCH] =?UTF-8?q?custom/=E4=B8=8A=E6=B5=B7=E6=B8=AF=E6=B9=BE-?= =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/mySalaryBenefits/components/payrollTable/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/mySalaryBenefits/components/payrollTable/index.js b/pc4mobx/hrmSalary/pages/mySalaryBenefits/components/payrollTable/index.js index 1c3007a8..90f1f187 100644 --- a/pc4mobx/hrmSalary/pages/mySalaryBenefits/components/payrollTable/index.js +++ b/pc4mobx/hrmSalary/pages/mySalaryBenefits/components/payrollTable/index.js @@ -35,8 +35,8 @@ class Index extends Component { myJuniorTree({ statusList }).then(({ status, data }) => { if (status) { this.setState({ - juniorMapList: this.convertToTreeDatas(data), - employeeId: !_.isNil(data) ? _.head(data).employeeId : "" + juniorMapList: !_.isEmpty(data) ? this.convertToTreeDatas(data) : [], + employeeId: !_.isEmpty(data) ? _.head(data).employeeId : "" }, () => this.getMySalaryBillList(this.props)); } });