mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
code refactor
This commit is contained in:
@@ -176,13 +176,7 @@ export default {
|
||||
computed: {
|
||||
...mapStores(useRootStore, useSettingsStore, useUserStore, useExchangeRatesStore),
|
||||
enableDisableOptions() {
|
||||
return [{
|
||||
value: true,
|
||||
displayName: this.$t('Enable')
|
||||
},{
|
||||
value: false,
|
||||
displayName: this.$t('Disable')
|
||||
}];
|
||||
return this.$locale.getEnableDisableOptions();
|
||||
},
|
||||
allTimezones() {
|
||||
return this.$locale.getAllTimezones(true);
|
||||
|
||||
Reference in New Issue
Block a user