Przeglądaj źródła

解决进入空白页问题

asd123a20 4 lat temu
rodzic
commit
c8533378c5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/login.vue

+ 1 - 1
src/views/login.vue

@@ -48,7 +48,7 @@ export default {
       const res = await this.login({ userName: this.userName, password: this.password })
       if (res.errcode === 0) {
         sessionStorage.setItem('token', res.token)
-        this.$router.push({ path: '/home/devinfo' })
+        this.$router.push({ path: '/devinfo' })
       }
     }
   }