mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-25 01:10:38 +01:00
fix some problems
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.$nuxt.refresh()
|
||||
await this.$router.push('blog')
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user