redoOperation时,只执行logical和logicalData类型的checker

This commit is contained in:
Xu Chang 2024-03-22 10:32:46 +08:00
parent 0a1fb71e2f
commit 69725716cd
3 changed files with 3 additions and 3 deletions

View File

@ -357,7 +357,7 @@ export class Cache extends Feature {
opers.forEach((oper) => {
const { entity, operation } = oper;
this.cacheStore.operate(entity, operation, this.context, {
checkerTypes: ['logicalData'],
checkerTypes: ['logicalData', 'logical'],
dontCollect: true,
});
});

View File

@ -360,7 +360,7 @@ class Cache extends Feature_1.Feature {
opers.forEach((oper) => {
const { entity, operation } = oper;
this.cacheStore.operate(entity, operation, this.context, {
checkerTypes: ['logicalData'],
checkerTypes: ['logicalData', 'logical'],
dontCollect: true,
});
});

View File

@ -499,7 +499,7 @@ export class Cache<
(oper) => {
const { entity, operation } = oper;
this.cacheStore!.operate(entity, operation, this.context!, {
checkerTypes: ['logicalData'], // 这里不能检查data不然在数据没填完前会有大量异常
checkerTypes: ['logicalData', 'logical'], // 这里不能检查data不然在数据没填完前会有大量异常
dontCollect: true,
});
}