mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
fix language always being set to English after logged out
This commit is contained in:
@@ -92,8 +92,9 @@ export default {
|
||||
const router = this.$f7router;
|
||||
|
||||
this.$user.clearTokenAndUserInfo();
|
||||
this.$settings.clearSettings();
|
||||
this.$exchangeRates.clearExchangeRates();
|
||||
this.$settings.clearSettings();
|
||||
this.$locale.init();
|
||||
|
||||
router.navigate('/login', {
|
||||
clearPreviousHistory: true
|
||||
|
||||
Reference in New Issue
Block a user