mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
Merge pull request #7187 from dataease/pr@dev-v2@fix_batch_import_user_i18n
fix: 用户批量导入国际化错误
This commit is contained in:
@@ -85,6 +85,9 @@ export const userStore = defineStore('user', {
|
||||
this.oid = oid
|
||||
},
|
||||
setLanguage(language: string) {
|
||||
if (!language || language === 'zh_CN') {
|
||||
language = 'zh-CN'
|
||||
}
|
||||
wsCache.set('user.language', language)
|
||||
this.language = language
|
||||
locale.setLang(language)
|
||||
|
||||
2
de-xpack
2
de-xpack
Submodule de-xpack updated: b6dd53ff93...dfc290223f
Reference in New Issue
Block a user