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', {