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