From 8f5f59f6b7ffac2cf497627a2e8dd981acbd36b1 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 24 Feb 2023 09:38:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AF=B7=E6=B1=82=E9=94=81?= =?UTF-8?q?=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/hljmz/AppJinMinLogin/AppJinMinLogin.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/project/hljmz/AppJinMinLogin/AppJinMinLogin.vue b/src/project/hljmz/AppJinMinLogin/AppJinMinLogin.vue index 2e5ac5c4..9bead35e 100644 --- a/src/project/hljmz/AppJinMinLogin/AppJinMinLogin.vue +++ b/src/project/hljmz/AppJinMinLogin/AppJinMinLogin.vue @@ -26,6 +26,7 @@ export default { handleLogin() { const {code} = this.$route.query if (code) { + uni.showLoading() this.$http.post("/app/wxcp/portal/hljJmgcLogin", null, { withoutToken: true, params: {code} @@ -34,7 +35,7 @@ export default { if (token) { location.replace(`https://mzt.hlj.gov.cn/app/ljmz_app_qywx?token=${token}`) } else this.err = "error" - }).catch(() => this.err = "error") + }).catch(() => this.err = "error").finally(() => uni.hideLoading()) } else this.getCode(); } }, @@ -47,4 +48,4 @@ export default { \ No newline at end of file +