增加请求锁屏
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user