chore: Update store migration for Coze minapp

This commit is contained in:
kangfenmao 2025-02-16 12:13:26 +08:00
parent c3220a7d64
commit dbfdfa0655
2 changed files with 7 additions and 10 deletions

View File

@ -30,7 +30,7 @@ const persistedReducer = persistReducer(
{ {
key: 'cherry-studio', key: 'cherry-studio',
storage, storage,
version: 68, version: 69,
blacklist: ['runtime'], blacklist: ['runtime'],
migrate migrate
}, },

View File

@ -1071,11 +1071,8 @@ const migrateConfig = {
state.minapps.enabled.push(coze) state.minapps.enabled.push(coze)
} }
} }
removeMiniAppIconsFromState(state)
return state return state
} }
// ...existing code...
} }
const migrate = createMigrate(migrateConfig as any) const migrate = createMigrate(migrateConfig as any)