From b05438694c2fb9d4c8b1b22f4481639ff0f35963 Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Mon, 07 May 2018 15:16:38 +0800 Subject: [PATCH] 三级警报数据 --- src/app/business/services/http/login.service.ts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/business/services/http/login.service.ts b/src/app/business/services/http/login.service.ts index 9432876..b5c1b6f 100644 --- a/src/app/business/services/http/login.service.ts +++ b/src/app/business/services/http/login.service.ts @@ -51,7 +51,7 @@ const now = new Date(); // expiredTime,refreshToken,refreshTime ������������ token ������������ this.setRefreshTime(); - localStorage.setItem('expiredTime', this.authorization.expiredTime.toString()); + localStorage.setItem('expiredTime', String(this.authorization.expiredTime)); localStorage.setItem('refreshToken', this.authorization.refreshToken); return res; } @@ -65,7 +65,7 @@ } ); } - get _refreshToken(){ + get _refreshToken() { return !!this.authorization.refreshToken ? this.authorization.refreshToken : this.refreshTokenFromLocal; } get refreshTokenFromLocal(): string { -- Gitblit v1.8.0