From 27f7417b6657a219ad16532bad63e21e822f570b Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Fri, 14 Mar 2025 18:14:36 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E5=8F=96=E6=B6=88=E6=97=A0=E6=84=9F?= =?UTF-8?q?=E7=99=BB=E5=BD=95"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 5facd34b08f564a9013b077de7cc3f18378a8215. # Conflicts: # src/views/login/index.vue --- src/views/login/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 469b027..bd0f93a 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -37,11 +37,12 @@ const getSignCode = () => { } onBeforeMount(() => { + xingzhi.value = judgingEnvironment(); 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){ + if(xingzhi.value == 2 || 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{ xingzhi.value = 1