### What problem does this PR solve? fix: Initial language is English, but the UI is in Chinese #2514 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) - [ ] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe):tags/v0.12.0
| @@ -20,7 +20,7 @@ export const useFetchUserInfo = (): ResponseGetType<IUserInfo> => { | |||
| if (data.retcode === 0) { | |||
| i18n.changeLanguage( | |||
| LanguageTranslationMap[ | |||
| data.language as keyof typeof LanguageTranslationMap | |||
| data.data.language as keyof typeof LanguageTranslationMap | |||
| ], | |||
| ); | |||
| } | |||