From 8ab24e9123c8b1cee08ba905aced0bd314c5bcd8 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Tue, 27 Mar 2018 12:02:21 +0800 Subject: [PATCH] 去除监控项目 请选择标题 --- src/app/business/services/http/login.service.ts | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/app/business/services/http/login.service.ts b/src/app/business/services/http/login.service.ts index 5b3cfa4..1889d2b 100644 --- a/src/app/business/services/http/login.service.ts +++ b/src/app/business/services/http/login.service.ts @@ -50,9 +50,8 @@ this.authorization = res; const now = new Date(); // expiredTime,refreshToken,refreshTime ������������ token ������������ - const expiredTime = !!this.authorization.expiredTime ? this.authorization.expiredTime.toString() : null; this.setRefreshTime(); - localStorage.setItem('expiredTime', expiredTime); + localStorage.setItem('expiredTime', String(this.authorization.expiredTime)); localStorage.setItem('refreshToken', this.authorization.refreshToken); return res; } -- Gitblit v1.8.0