修改登陆重复问题
This commit is contained in:
@@ -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', {
|
||||||
|
|||||||
Reference in New Issue
Block a user