congruentRowExists的错误格式
This commit is contained in:
parent
c9f841e2b1
commit
88677da7fc
|
|
@ -1060,7 +1060,7 @@ var TreeStore = /** @class */ (function (_super) {
|
|||
} */
|
||||
if (this.store[entity] && (this.store[entity])[id]) {
|
||||
node = this.store[entity] && (this.store[entity])[id];
|
||||
throw new Exception_1.OakCongruentRowExists(this.constructRow(node, context));
|
||||
throw new Exception_1.OakCongruentRowExists(entity, this.constructRow(node, context));
|
||||
}
|
||||
node2 = {
|
||||
$txnId: context.getCurrentTxnId(),
|
||||
|
|
|
|||
|
|
@ -817,7 +817,7 @@ export default class TreeStore<ED extends EntityDict & BaseEntityDict, Cxt exten
|
|||
|
||||
if (this.store[entity] && (this.store[entity]!)[id as string]) {
|
||||
const node = this.store[entity] && (this.store[entity]!)[id as string];
|
||||
throw new OakCongruentRowExists(this.constructRow(node, context)!);
|
||||
throw new OakCongruentRowExists(entity as string, this.constructRow(node, context)!);
|
||||
}
|
||||
const node2: RowNode = {
|
||||
$txnId: context.getCurrentTxnId()!,
|
||||
|
|
|
|||
Loading…
Reference in New Issue