diff --git a/src/components/Header.vue b/src/components/Header.vue index 4977b33..e3b6d1c 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -40,9 +40,8 @@ export default { }, loginout() { localStorage.removeItem('ms_username'); - this.$router.push('/login'); sessionStorage.clear() - + location.reload() }, goHome(){ this.$router.push('/customer') diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 91385a6..07b9de7 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -11,7 +11,7 @@ router @select="handleSelect" > -