From 59985cf7f26198a2213ba16d45bb9f9d2cd7578e Mon Sep 17 00:00:00 2001 From: jianjun Date: Thu, 20 Oct 2022 09:19:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=94=E8=B0=83=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/pages/yantai-login-transit.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/pages/yantai-login-transit.vue b/src/views/pages/yantai-login-transit.vue index d884e0367..41e6f00a5 100644 --- a/src/views/pages/yantai-login-transit.vue +++ b/src/views/pages/yantai-login-transit.vue @@ -23,6 +23,7 @@ export default { async mounted() { let code = getQueryPara("code"); + alert(code+"location.href;"+location.href); const loading = this.$loading({ lock: true, text: "登录中……", @@ -35,9 +36,11 @@ export default { loading.close(); } else { // await this.skip(code); - location.href = - "http://172.20.46.155:8080/sso/login?client_id=1000006&redirect_url=" + - encodeURIComponent(location.href); + let uriComponent = "http://172.20.46.177/epmet-oper-gov/#/login/"; + //let uriComponent = "https://172.20.46.177:65221/#/"; + let redirect_url = encodeURIComponent(uriComponent); + let url = "http://172.20.46.155:8080/sso/login?client_id=1000009&redirect_url="+redirect_url; + window.open(url,'_self'); } },