youyawu %!s(int64=5) %!d(string=hai) anos
pai
achega
7bca5069ba
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
   }
 }