forked from github/dataease
Merge pull request #7187 from dataease/pr@dev-v2@fix_batch_import_user_i18n
fix: 用户批量导入国际化错误
This commit is contained in:
commit
0bd1fb7506
@ -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
@ -1 +1 @@
|
||||
Subproject commit b6dd53ff930400ff2d169db95ea21dd19f3e205a
|
||||
Subproject commit dfc290223ffb39bcff839d43f5e828dbe647c730
|
Loading…
Reference in New Issue
Block a user