mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
code refactor
This commit is contained in:
@@ -93,7 +93,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
allCurrencies() {
|
||||
return this.$getAllCurrencies();
|
||||
return this.$locale.getAllCurrencies();
|
||||
},
|
||||
inputIsEmpty() {
|
||||
return !!this.inputEmptyProblemMessage;
|
||||
@@ -161,6 +161,10 @@ export default {
|
||||
|
||||
if (self.$utilities.isString(data.result.token)) {
|
||||
self.$user.updateTokenAndUserInfo(data.result);
|
||||
|
||||
if (self.$settings.isAutoUpdateExchangeRatesData()) {
|
||||
self.$services.autoRefreshLatestExchangeRates();
|
||||
}
|
||||
}
|
||||
|
||||
self.$toast('You have been successfully registered');
|
||||
|
||||
Reference in New Issue
Block a user