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 +