Skip to content

Commit

Permalink
- Fixed bug with language
Browse files Browse the repository at this point in the history
  • Loading branch information
639852 committed Jul 29, 2023
1 parent f75d089 commit 4871d68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export default {
this.$router.replace("login");
}
if (!this.$route.query.lang) return;
if (this.$route.query.lang !== this.$i18n.locale) {
this.$i18n.locale = this.$route.query.lang;
}
Expand Down

0 comments on commit 4871d68

Please sign in to comment.