fix language always being set to English after logged out

This commit is contained in:
MaysWind
2020-11-22 18:48:06 +08:00
parent 1bd33d854f
commit b8d2d687a2
5 changed files with 26 additions and 12 deletions
+2 -1
View File
@@ -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