后端开启限制登录后国际化问题
This commit is contained in:
@@ -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()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user