From cb4a3f1a2e4d5c3e25138e0fd5e548391fe59b19 Mon Sep 17 00:00:00 2001 From: caolc <572275724@qq.com> Date: Wed, 9 Nov 2022 16:21:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=99=BB=E9=99=86=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/home.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pages/home/home.vue b/pages/home/home.vue index 31f2a54..0340469 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -451,13 +451,7 @@ this.checkList = '' this.checkFirst = false uni.setStorageSync('checkFirst',false) - uni.setStorage({ - key: 'Authorization', - data: res.data.authTokenDTO.accessToken, - success: () => { - //console.log('Authorization成功', res.data.authTokenDTO.accessToken) - } - }) + uni.setStorageSync('Authorization',res.data.authTokenDTO.accessToken) this.checkForE =false uni.setStorageSync('userMenu', res.data.authTokenDTO.loginUser.roleMenus) uni.setStorageSync('loginUser', {