Merge "fix: set the default language is Engilsh"

This commit is contained in:
Zuul 2022-10-13 04:45:26 +00:00 committed by Gerrit Code Review
commit 86937127c9

View File

@ -51,10 +51,9 @@ const getLocale = () => {
localStorageLocaleKey: 'lang',
});
// If not found, the default is Chinese
// If not found, the default is English
if (!_.find(SUPPORT_LOCALES, { value: currentLocale })) {
currentLocale = 'zh-cn';
// currentLocale = 'en';
currentLocale = 'en';
}
if (!currentLocals) {