From ed69bd6069fd3c7d67cf5630d8920fd6f4f2bb32 Mon Sep 17 00:00:00 2001 From: hreenshan112 Date: Tue, 25 Feb 2025 11:17:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=99=BB=E5=BD=95=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index de28630..469b027 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -37,8 +37,10 @@ const getSignCode = () => { } onBeforeMount(() => { + console.log("==============>",route.query.userkey,route.query.token) if(!userPinia.judgeIsLogin(route.query.userkey,route.query.token)){ xingzhi.value = judgingEnvironment(); + console.log("======1========>",xingzhi.value) if(xingzhi.value == 3){ window.location.href="http://wab.hxgk.group/systemapi/wechat/obtaOnePage?systemapp="+import.meta.env.VITE_APP_SYSTEM_APP+"&isagain="+import.meta.env.VITE_APP_AGAIN+"&userid="+route.query.userid+"&call_back_type=login" }else{ @@ -47,6 +49,7 @@ onBeforeMount(() => { } }else{ + console.log("=======3=======>",route.query.userkey,route.query.token) userPinia.getInfo() router.push('/') } @@ -141,9 +144,9 @@ const judgingEnvironment = () => { return 3; } -