mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 08:44:25 +08:00
code refactor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user