fix: 实体更新或自定义动作,创建oper时加上filter

This commit is contained in:
wkj 2024-03-18 18:05:21 +08:00
parent 483cbfa8c9
commit 81d8e97094
2 changed files with 6 additions and 0 deletions

View File

@ -1333,6 +1333,9 @@ class CascadeStore extends RowStore_1.RowStore {
entity: entity, entity: entity,
}))) })))
}, },
filter: {
id: { $in: ids },
}
}, },
}; };
const closeRootMode = context.openRootMode(); const closeRootMode = context.openRootMode();

View File

@ -1615,6 +1615,9 @@ export abstract class CascadeStore<ED extends EntityDict & BaseEntityDict> exten
) )
) )
}, },
filter: {
id: { $in: ids },
}
}, },
} }
const closeRootMode = context.openRootMode(); const closeRootMode = context.openRootMode();