소스 검색

解决进入空白页问题

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