mirror of
https://github.com/motajs/template.git
synced 2026-09-26 12:50:18 +08:00
fix: 读档的 executor 未执行
This commit is contained in:
parent
d856e06b7d
commit
513a9c354c
@ -534,6 +534,10 @@ export class CoreState implements ICoreState {
|
||||
}
|
||||
const data = state.get(key);
|
||||
value.loadState(data, compression);
|
||||
const executor = this.executors.get(value);
|
||||
if (executor) {
|
||||
executor.afterLoad(value, this);
|
||||
}
|
||||
}
|
||||
const loaded = new Set<string>(state.keys());
|
||||
const total = new Set(this.saveables.keys());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user