소스 검색

调整为调整到首页

humingbo 2 년 전
부모
커밋
fb299a48bf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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`)
     }
   }
 }