mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
fix language always being set to English after logged out
This commit is contained in:
@@ -185,7 +185,10 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
self.$settings.setEnableApplicationLock(false);
|
||||
if (self.$settings.isEnableApplicationLock()) {
|
||||
self.$settings.setEnableApplicationLock(false);
|
||||
}
|
||||
|
||||
self.$user.updateTokenAndUserInfo(data.result);
|
||||
|
||||
if (self.$settings.isAutoUpdateExchangeRatesData()) {
|
||||
@@ -259,7 +262,10 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
self.$settings.setEnableApplicationLock(false);
|
||||
if (self.$settings.isEnableApplicationLock()) {
|
||||
self.$settings.setEnableApplicationLock(false);
|
||||
}
|
||||
|
||||
self.$user.updateTokenAndUserInfo(data.result);
|
||||
|
||||
if (self.$settings.isAutoUpdateExchangeRatesData()) {
|
||||
|
||||
Reference in New Issue
Block a user