code refactor

This commit is contained in:
MaysWind
2023-07-17 23:13:54 +08:00
parent f0ef9ad51e
commit 714933df56
9 changed files with 43 additions and 63 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ export default {
const self = this;
return {
currentLocale: self.$i18n.locale,
currentLocale: self.$locale.getCurrentLanguageCode(),
logouting: false
};
},
@@ -196,7 +196,7 @@ export default {
},
methods: {
onPageAfterIn() {
this.currentLocale = this.$i18n.locale;
this.currentLocale = this.$locale.getCurrentLanguageCode();
},
logout() {
const self = this;