解开登录流程死锁
This commit is contained in:
@@ -240,8 +240,18 @@ export default {
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.getUserInfo().then(res => {
|
this.getUserInfo().then(res => {
|
||||||
if (res == "getCode") {
|
if (this.$route.hash == "#loginfail") {
|
||||||
this.getCode({url: location.href})
|
this.result = {
|
||||||
|
tips: "您的信息获取失败",
|
||||||
|
status: "error",
|
||||||
|
btn: "重新加载",
|
||||||
|
btnTap() {
|
||||||
|
location.reload()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (res == "getCode") {
|
||||||
|
let {corpId} = this.$route.query
|
||||||
|
this.getCode({corpId, url: location.href})
|
||||||
} else if (!!this.openUser?.openId) {
|
} else if (!!this.openUser?.openId) {
|
||||||
this.checkForm()?.then(() => this.checkUser && this.getForm())
|
this.checkForm()?.then(() => this.checkUser && this.getForm())
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user