修改登陆重复问题

pull/1/head
caolc 2 years ago
parent f145737091
commit cb4a3f1a2e
  1. 8
      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', {

Loading…
Cancel
Save