This commit is contained in:
sijinhui
2024-05-08 11:37:50 +08:00
parent dd1777ad36
commit 4fc3de5c55
5 changed files with 36 additions and 42 deletions

View File

@@ -137,7 +137,7 @@ export const useAppConfig = createPersistStore(
}),
{
name: StoreKey.Config,
version: 3.8994,
version: 3.8995,
migrate(persistedState, version) {
const state = persistedState as ChatConfig;
@@ -168,7 +168,7 @@ export const useAppConfig = createPersistStore(
if (version < 3.8) {
state.lastUpdate = Date.now();
}
if (version < 3.8994) {
if (version < 3.8995) {
state.lastUpdate = Date.now();
return { ...DEFAULT_CONFIG };
}