后端开启限制登录后国际化问题
parent
6e1d07ee95
commit
6f3381c267
|
@ -100,8 +100,10 @@ service.interceptors.response.use(
|
||||||
console.log(err)
|
console.log(err)
|
||||||
}
|
}
|
||||||
router.push(`/login`)
|
router.push(`/login`)
|
||||||
this.$i18n.locale = 'zh'
|
// if (!this.$i18n.locale) {
|
||||||
this.setLanguage('zh')
|
// this.$i18n.locale = 'zh'
|
||||||
|
// this.setLanguage('zh')
|
||||||
|
// }
|
||||||
this.$updateDictionary()
|
this.$updateDictionary()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue