From 0e25153037b06851846e80cc745e518ba07bf7af Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Mon, 26 Mar 2018 13:58:16 +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