Procházet zdrojové kódy

调整为调整到首页

humingbo před 2 roky
rodič
revize
fb299a48bf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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`)
     }
   }
 }