chore(version): update version to 60 and add migration for multiModelMessageStyle setting

This commit is contained in:
Teo 2025-01-20 18:09:59 +08:00 committed by 亢奋猫
parent e72e324155
commit ccac5358f4
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -877,6 +877,10 @@ const migrateConfig = {
}
removeMiniAppIconsFromState(state)
return state
},
'60': (state: RootState) => {
state.settings.multiModelMessageStyle = 'vertical'
return state
}
}