|
@@ -177,6 +177,7 @@ export default {
|
|
},
|
|
},
|
|
async logout() {
|
|
async logout() {
|
|
await this.$store.dispatch("user/logout");
|
|
await this.$store.dispatch("user/logout");
|
|
|
|
+ localStorage.removeItem('firstMenu')
|
|
// await this.$store.dispatch("permission/removePermission")
|
|
// await this.$store.dispatch("permission/removePermission")
|
|
this.$router.push(`/login`);
|
|
this.$router.push(`/login`);
|
|
window.location.reload();
|
|
window.location.reload();
|