From 486218fabc53ded4a62b3d0048a8346794b45abb Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Tue, 22 Dec 2020 10:17:10 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=20=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/pages/lockscreen/lockscreen.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/pages/lockscreen/lockscreen.component.ts b/src/app/pages/lockscreen/lockscreen.component.ts index ec4d81f..a045f33 100644 --- a/src/app/pages/lockscreen/lockscreen.component.ts +++ b/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}) }