调整金民跳转的逻辑控制

This commit is contained in:
aixianling
2023-02-24 11:06:44 +08:00
parent 8f5f59f6b7
commit bad2182cab

View File

@@ -34,7 +34,7 @@ export default {
const token = res?.data?.data?.["TA-JTOKEN"]
if (token) {
location.replace(`https://mzt.hlj.gov.cn/app/ljmz_app_qywx?token=${token}`)
} else this.err = "error"
} else location.replace(`https://mzt.hlj.gov.cn/app/ljmz_app_qywx`)
}).catch(() => this.err = "error").finally(() => uni.hideLoading())
} else this.getCode();
}