fixed:recovery disable

This commit is contained in:
cbmland
2024-07-13 20:28:10 +08:00
parent c621662aae
commit da0ff0192d
4 changed files with 4 additions and 7 deletions

View File

@@ -137,12 +137,9 @@ export function setLocalAppState(appState: AppState) {
export function mergeAppState(localState: AppState, remoteState: AppState) {
Object.keys(localState).forEach(<T extends keyof AppState>(k: string) => {
const key = k as T;
//if(k !== ''){
console.log("mergeAppState", k);
const localStoreState = localState[key];
const remoteStoreState = remoteState[key];
MergeStates[key](localStoreState, remoteStoreState);
//}
});
return localState;