youyawu 5 년 전
부모
커밋
7bca5069ba
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/userInfo.vue

+ 1 - 1
src/components/userInfo.vue

@@ -40,7 +40,7 @@ export default class extends Vue {
   }
   async logout() {
     if (!(await this.$confirm("是否退出登陆?").catch(x => false))) return;
-    await this.$router.push("/");
+    await this.$router.push("/login");
     user.clear();
   }
 }