Explorar el Código

调整为调整到首页

humingbo hace 1 año
padre
commit
fb299a48bf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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`)
     }
   }
 }