|
|
|
@ -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}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|