From f0f3ebf7b7eb45219e34275369d56b8512b0dd19 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 26 Nov 2021 19:28:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E7=99=BB=E5=BD=95=E6=9A=82?= =?UTF-8?q?=E6=94=B9=E6=96=B9=E6=A1=88,=E6=8E=A5=E5=8F=A3=E6=9C=AA?= =?UTF-8?q?=E9=80=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppAskForm/formDetail.vue | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/src/apps/AppAskForm/formDetail.vue b/src/apps/AppAskForm/formDetail.vue index a870514c..ae925a9e 100644 --- a/src/apps/AppAskForm/formDetail.vue +++ b/src/apps/AppAskForm/formDetail.vue @@ -239,32 +239,8 @@ export default { }) }) } else { - this.getUserInfo().then(res => { - if (this.$route.hash == "#loginfail") { - 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) { - this.checkForm()?.then(() => this.checkUser && this.getForm()) - } else { - this.result = { - tips: "您的信息获取失败", - status: "error", - btn: "重新加载", - btnTap() { - location.reload() - } - } - } - }).catch() + let {corpId} = this.$route.query + this.getCode({corpId, url: location.href}) } }, },