src/layout/components/Navbar.vue
@@ -108,6 +108,7 @@ async logout() { // await this.$store.dispatch('user/logout') sessionStorage.removeItem("user") localStorage.removeItem("autoenter"); this.$router.push(`/login?redirect=${this.$route.fullPath}`) this.$router.replace({path: '/login'}); location.reload();