mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 21:12:33 +08:00
perf: Div 嵌入式切换语言后会整体刷新页面
This commit is contained in:
committed by
fit2cloud-chenyw
parent
62ba3f8746
commit
2e7742b7f1
@@ -65,7 +65,7 @@ export const userStore = defineStore('user', {
|
||||
wsCache.set('user.' + key, this[key])
|
||||
})
|
||||
const locale = useLocaleStoreWithOut()
|
||||
if (locale.getCurrentLocale?.lang !== this.language) {
|
||||
if (locale.getCurrentLocale?.lang !== this.language && !window.DataEaseBi) {
|
||||
window.location.reload()
|
||||
}
|
||||
this.setLanguage(this.language)
|
||||
|
||||
Reference in New Issue
Block a user