mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
fix: incorrect cache clean
This commit is contained in:
parent
b5f94164bf
commit
730c4d179e
@ -575,7 +575,7 @@ export class FlowModel<Structure extends { parent?: any; subModels?: any } = Def
|
|||||||
? FlowEngine.generateApplyFlowCacheKey(this['forkId'] ?? 'autoFlow', 'all', this.uid)
|
? FlowEngine.generateApplyFlowCacheKey(this['forkId'] ?? 'autoFlow', 'all', this.uid)
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
if (_.isEqual(extra, this._lastAutoRunParams?.[0]) && cacheKey) {
|
if (!_.isEqual(extra, this._lastAutoRunParams?.[0]) && cacheKey) {
|
||||||
this.flowEngine.applyFlowCache.delete(cacheKey);
|
this.flowEngine.applyFlowCache.delete(cacheKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user