From 3a7b2339d5c7804ea608625528985fb63f625ebe Mon Sep 17 00:00:00 2001 From: MustangDeng <670124965@qq.com> Date: Wed, 15 Jun 2022 09:10:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E5=80=BC=E6=83=85=E5=86=B5=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/stores/ledger.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pc4mobx/hrmSalary/stores/ledger.js b/pc4mobx/hrmSalary/stores/ledger.js index 402b02b8..eb05162d 100644 --- a/pc4mobx/hrmSalary/stores/ledger.js +++ b/pc4mobx/hrmSalary/stores/ledger.js @@ -489,8 +489,8 @@ export class LedgerStore { @action listSalaryItem = (searchValue = "", current = 1) => { let excludeIds = []; - this.itemGroups.map((item) => { - item.items.map((i) => { + this.itemGroups && this.itemGroups.map((item) => { + item.items && item.items.map((i) => { excludeIds.push(i.salaryItemId); }); });