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; } -