修改登陆重复问题

This commit is contained in:
caolc
2022-11-09 16:21:07 +08:00
parent f145737091
commit cb4a3f1a2e

View File

@@ -451,13 +451,7 @@
this.checkList = '' this.checkList = ''
this.checkFirst = false this.checkFirst = false
uni.setStorageSync('checkFirst',false) uni.setStorageSync('checkFirst',false)
uni.setStorage({ uni.setStorageSync('Authorization',res.data.authTokenDTO.accessToken)
key: 'Authorization',
data: res.data.authTokenDTO.accessToken,
success: () => {
//console.log('Authorization成功', res.data.authTokenDTO.accessToken)
}
})
this.checkForE =false this.checkForE =false
uni.setStorageSync('userMenu', res.data.authTokenDTO.loginUser.roleMenus) uni.setStorageSync('userMenu', res.data.authTokenDTO.loginUser.roleMenus)
uni.setStorageSync('loginUser', { uni.setStorageSync('loginUser', {