ソースを参照

调整为调整到首页

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`)
     }
   }
 }