mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 17:24:26 +08:00
code refactor
This commit is contained in:
@@ -92,14 +92,14 @@ export default {
|
||||
return userInfo.nickname || userInfo.username || this.$t('User');
|
||||
},
|
||||
allLanguages() {
|
||||
return this.$getAllLanguages();
|
||||
return this.$locale.getAllLanguages();
|
||||
},
|
||||
currentLocale: {
|
||||
get: function () {
|
||||
return this.$i18n.locale;
|
||||
},
|
||||
set: function (value) {
|
||||
this.$setLanguage(value);
|
||||
this.$locale.setLanguage(value);
|
||||
}
|
||||
},
|
||||
isEnableApplicationLock() {
|
||||
|
||||
Reference in New Issue
Block a user