空值情况处理
This commit is contained in:
parent
a39b9d606a
commit
3a7b2339d5
|
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue