Browse Source

Revert "取消无感登录"

This reverts commit 5facd34b08.

# Conflicts:
#	src/views/login/index.vue
qin_8
herenshan112 9 months ago
parent
commit
27f7417b66
  1. 5
      src/views/login/index.vue

5
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

Loading…
Cancel
Save