赋初值时给deleteAt赋null
This commit is contained in:
parent
d60abe2ddb
commit
5022c21640
|
|
@ -685,6 +685,7 @@ var CascadeStore = /** @class */ (function (_super) {
|
|||
Object.assign(data2, (_b = {},
|
||||
_b[Entity_1.CreateAtAttribute] = now,
|
||||
_b[Entity_1.UpdateAtAttribute] = now,
|
||||
_b[Entity_1.DeleteAtAttribute] = null,
|
||||
_b));
|
||||
};
|
||||
if (data instanceof Array) {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import assert from "assert";
|
||||
import {
|
||||
EntityDict,
|
||||
OperateOption, SelectOption, OperationResult, DeduceFilter, CreateAtAttribute, UpdateAtAttribute, AggregationResult
|
||||
OperateOption, SelectOption, OperationResult, DeduceFilter, CreateAtAttribute, UpdateAtAttribute, AggregationResult, DeleteAtAttribute
|
||||
} from "../types/Entity";
|
||||
import { EntityDict as BaseEntityDict } from '../base-app-domain';
|
||||
import { RowStore } from '../types/RowStore';
|
||||
|
|
@ -816,6 +816,7 @@ export abstract class CascadeStore<ED extends EntityDict & BaseEntityDict> exten
|
|||
Object.assign(data2, {
|
||||
[CreateAtAttribute]: now,
|
||||
[UpdateAtAttribute]: now,
|
||||
[DeleteAtAttribute]: null,
|
||||
});
|
||||
}
|
||||
if (data instanceof Array) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue