Browse Source

[完善] 登录地址完善

master
陈鹏飞 4 years ago
parent
commit
486218fabc
  1. 2
      src/app/pages/lockscreen/lockscreen.component.ts

2
src/app/pages/lockscreen/lockscreen.component.ts

@ -35,7 +35,7 @@ export class LockscreenComponent implements OnInit {
sessionStorage.setItem("refreshToken",data.refreshToken);
sessionStorage.setItem("level",data.level);
this.token.startUp(); //登陆成功启动定时器刷新token
this.router.navigate(['/home/createexam-index']) //登陆成功跳转页面
this.roleType == '1'? this.router.navigate(['/home/createexam-index']) : this.router.navigate(['/home/student-index'])
},(err) => {this.errmsg = err})
}

Loading…
Cancel
Save