漏了个没改的点

This commit is contained in:
Xu Chang 2023-03-30 20:04:43 +08:00
parent a99de1d162
commit b4be92c785
2 changed files with 4 additions and 2 deletions

View File

@ -975,7 +975,8 @@ var CascadeStore = /** @class */ (function (_super) {
return [4 /*yield*/, (0, uuid_1.generateNewIdAsync)()];
case 18:
_b = [(_j.data = (_k.id = _m.sent(),
_k.targetEntityId = data.id,
_k.entityId = data.id,
_k.entity = entity,
_k),
_j)];
_m.label = 19;

View File

@ -1066,7 +1066,8 @@ export abstract class CascadeStore<ED extends EntityDict & BaseEntityDict> exten
action: 'create',
data: {
id: await generateNewIdAsync(),
targetEntityId: (data as ED[T]['CreateSingle']['data']).id,
entityId: (data as ED[T]['CreateSingle']['data']).id,
entity: entity as string,
},
}]
},