增加请求锁屏

This commit is contained in:
aixianling
2023-02-24 09:38:38 +08:00
parent 4f122e03d4
commit 8f5f59f6b7

View File

@@ -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 {
<style lang="scss" scoped>
.AppJinMinLogin {
}
</style>
</style>