change model

This commit is contained in:
sijinhui
2024-05-08 23:39:49 +08:00
parent 582d0aec84
commit 0914682095
2 changed files with 6 additions and 6 deletions

View File

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