From bb6aebd55fc9a8039e1c199ae1ea8af4eb547b1b Mon Sep 17 00:00:00 2001 From: queenwuli <942534046@qq.com> Date: Wed, 30 Dec 2020 10:32:41 +0800 Subject: [PATCH] gx --- hive-app/common/jssdk/httpUtils.js | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/hive-app/common/jssdk/httpUtils.js b/hive-app/common/jssdk/httpUtils.js index 17af48d..7f4a4f6 100644 --- a/hive-app/common/jssdk/httpUtils.js +++ b/hive-app/common/jssdk/httpUtils.js @@ -46,7 +46,7 @@ success: (res) => { reject(result); uni.navigateTo({ - url: '/pages/login/index' + url: '/pages/login/index?isNotLogin=1' }) }, fail() { @@ -69,6 +69,9 @@ }, getRoleInfo(){ return StorageUtil.getStorage('userInfo','roleInfo') + }, + getToken(){ + return StorageUtil.getStorage('userInfo','token') } } export default httpUtils; \ No newline at end of file -- Gitblit v1.9.1