后端开启限制登录后国际化问题

uat_us
wangxiaoshuang 2025-01-21 09:31:26 +08:00
parent 6e1d07ee95
commit 6f3381c267
1 changed files with 4 additions and 2 deletions

View File

@ -100,8 +100,10 @@ service.interceptors.response.use(
console.log(err)
}
router.push(`/login`)
this.$i18n.locale = 'zh'
this.setLanguage('zh')
// if (!this.$i18n.locale) {
// this.$i18n.locale = 'zh'
// this.setLanguage('zh')
// }
this.$updateDictionary()
})
}