code refactor

This commit is contained in:
MaysWind
2024-08-03 18:21:04 +08:00
parent 77439f675b
commit f1f61a9038
10 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -89,7 +89,7 @@ export default {
const self = this;
return {
currentLocale: self.$locale.getCurrentLanguageCode(),
currentLocale: self.$locale.getCurrentLanguageTag(),
logouting: false
};
},
@@ -167,7 +167,7 @@ export default {
},
methods: {
onPageAfterIn() {
this.currentLocale = this.$locale.getCurrentLanguageCode();
this.currentLocale = this.$locale.getCurrentLanguageTag();
},
logout() {
const self = this;