调整顺序

This commit is contained in:
sijinhui
2024-02-20 12:47:17 +08:00
parent a11cf11c01
commit 8e81d3e2e5
2 changed files with 7 additions and 7 deletions

View File

@@ -137,7 +137,7 @@ export const useAppConfig = createPersistStore(
}),
{
name: StoreKey.Config,
version: 3.896,
version: 3.897,
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.896) {
if (version < 3.897) {
state.lastUpdate = Date.now();
return { ...DEFAULT_CONFIG };
}