后端开启限制登录后国际化问题
parent
6e1d07ee95
commit
6f3381c267
|
@ -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()
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue