修改登陆重复问题

pull/1/head
caolc 2 years ago
parent f145737091
commit cb4a3f1a2e
  1. 8
      pages/home/home.vue

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

Loading…
Cancel
Save