clear settings stored in browser after user logged out

This commit is contained in:
MaysWind
2020-11-17 21:52:30 +08:00
parent 68233852e7
commit ff0bc51f56
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -154,6 +154,7 @@ export default {
}
self.$user.clearTokenAndUserInfo();
self.$settings.clearSettings();
router.navigate('/');
}).catch(error => {
self.logouting = false;