mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-21 07:21:47 +01:00
try to fix blog change language
This commit is contained in:
@@ -122,7 +122,7 @@ export default {
|
||||
async changeLanguage(lang) {
|
||||
this.$i18n.setLocale(lang)
|
||||
if (this.$router.currentRoute.fullPath.includes('blog')) {
|
||||
await this.$router.push('blog')
|
||||
await this.$router.push('/blog')
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user