Sfoglia il codice sorgente

调整为调整到首页

humingbo 1 anno fa
parent
commit
fb299a48bf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/layout/components/Navbar.vue

+ 1 - 1
src/layout/components/Navbar.vue

@@ -51,7 +51,7 @@ export default {
     },
     async logout() {
       await this.$store.dispatch('Logout')
-      this.$router.push(`/login?redirect=${this.$route.fullPath}`)
+      this.$router.push(`/login`)
     }
   }
 }