Merge pull request #7187 from dataease/pr@dev-v2@fix_batch_import_user_i18n

fix: 用户批量导入国际化错误
This commit is contained in:
fit2cloud-chenyw 2023-12-18 14:10:18 +08:00 committed by GitHub
commit 0bd1fb7506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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)

@ -1 +1 @@
Subproject commit b6dd53ff930400ff2d169db95ea21dd19f3e205a
Subproject commit dfc290223ffb39bcff839d43f5e828dbe647c730