fix: 修复框架创建oper时因为不存在checker而导致iState为null的情况

This commit is contained in:
Pan Qiancheng 2026-01-01 21:34:25 +08:00
parent e5b005b067
commit 1abb39e7a5
2 changed files with 4 additions and 0 deletions

View File

@ -1311,6 +1311,7 @@ class CascadeStore extends RowStore_1.RowStore {
operatorId,
targetEntity: entity,
bornAt,
iState: 'normal',
operEntity$oper: data instanceof Array ? [{
id: 'dummy',
action: 'create',
@ -1450,6 +1451,7 @@ class CascadeStore extends RowStore_1.RowStore {
targetEntity: entity,
bornAt,
operatorId,
iState: 'normal',
operEntity$oper: [{
id: 'dummy',
action: 'create',

View File

@ -1596,6 +1596,7 @@ export abstract class CascadeStore<ED extends EntityDict & BaseEntityDict> exten
operatorId,
targetEntity: entity as string,
bornAt,
iState: 'normal',
operEntity$oper: data instanceof Array ? [{
id: 'dummy',
action: 'create',
@ -1745,6 +1746,7 @@ export abstract class CascadeStore<ED extends EntityDict & BaseEntityDict> exten
targetEntity: entity as string,
bornAt,
operatorId,
iState: 'normal',
operEntity$oper: [{
id: 'dummy',
action: 'create',