|
|
|
|
@ -105,6 +105,7 @@ export default { |
|
|
|
|
// this.guideShow = true; |
|
|
|
|
// console.log(this.userInfo.papersnumber) |
|
|
|
|
if(this.userInfo){ |
|
|
|
|
// console.log(this.userInfo.papersnumber); |
|
|
|
|
checkBacklist(this.userInfo.papersnumber).then(res => { |
|
|
|
|
if(res.data){ |
|
|
|
|
this.errMsg = res.data; |
|
|
|
|
@ -120,7 +121,7 @@ export default { |
|
|
|
|
lightAppJssdk.user.getTicket({ |
|
|
|
|
success: (data) => { |
|
|
|
|
//成功回调 |
|
|
|
|
console.log(JSON.stringify(data)) |
|
|
|
|
// console.log(JSON.stringify(data)) |
|
|
|
|
if (data == "未登录") { |
|
|
|
|
this.onLoginApp() //APP用户未登录,调用登录页面 |
|
|
|
|
} else { |
|
|
|
|
@ -218,7 +219,7 @@ export default { |
|
|
|
|
if (data.retcode == "000000") { |
|
|
|
|
const userInfo = data.data |
|
|
|
|
sessionStorage.setItem('userInfo', userInfo); |
|
|
|
|
this.userInfo = userInfo; |
|
|
|
|
this.userInfo = JSON.parse(userInfo); |
|
|
|
|
} else { |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|