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