From 60a5c1f666b80f45b8df1bf5298cce790b1fd88a Mon Sep 17 00:00:00 2001 From: yangxiao <3261756395@qq.com> Date: Thu, 25 Dec 2025 10:05:59 +0800 Subject: [PATCH] =?UTF-8?q?flat:=20=E7=9F=B3=E6=B2=B3=E5=AD=90=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E7=99=BB=E9=99=86=E8=B7=B3=E8=BD=AC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 ++-- src/page/login/userlogin.vue | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.env.production b/.env.production index 5090d73..25ae82d 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ VUE_APP_SITE='default' -VUE_APP_LOGIN_ERROR = http://10.160.7.216:9920/casserver/login +VUE_APP_LOGIN_ERROR = http://36.105.163.21:30081/casserver/login VUE_APP_REPLACE_STR = {"{oss_file_url}": "http://10.165.0.173:8000", "https://dy12333.org.cn/api/jobslink-api/front/file": "http://10.165.0.77:8000/jobslink-api/front/file"} -VUE_APP_LOGIN_NEXT = http://10.160.7.216:9920/casserver/login?service=http://10.165.0.54:8300/manage/login&stService=http%3A%2F%2F10.165.0.54%3A8300%2Fmanage%2Flogin +VUE_APP_LOGIN_NEXT = http://36.105.163.21:30081/casserver/login?service=http://10.165.0.54:8300/manage/login&stService=http%3A%2F%2F10.165.0.54%3A8300%2Fmanage%2Flogin VUE_APP_SUPPER_MAP = http://10.165.0.44:1205/proxy/rest/maps/c02c6f51f3ab4190bffd5e3e54cf5ac4/111013e9067749488d44841208771768 VUE_APP_TIANDITU_APIKEY = e4266a5e84fe6c10f60c559967f0a03f #VUE_APP_LARGESCREEN = http://10.165.0.173/largescreen/ diff --git a/src/page/login/userlogin.vue b/src/page/login/userlogin.vue index 0e6c28d..342afce 100644 --- a/src/page/login/userlogin.vue +++ b/src/page/login/userlogin.vue @@ -46,11 +46,11 @@ import topLang from "@/page/index/top/top-lang"; import { getCaptcha } from "@/api/user"; console.log('是否跳转', /(^http)(s?):\/\/([a-z0-9].+)\/manage(\/)?$/i.test(location.href), location.href) -if (/(^http)(s?):\/\/([a-z0-9].+)\/manage(\/)?$/i.test(location.href)) { - if (process.env.NODE_ENV !== "development") { - window.location.href = process.env.VUE_APP_LOGIN_NEXT; - } -} +// if (/(^http)(s?):\/\/([a-z0-9].+)\/manage(\/)?$/i.test(location.href)) { +// if (process.env.NODE_ENV !== "development") { +// window.location.href = process.env.VUE_APP_LOGIN_NEXT; +// } +// } if (/(\/login\?)(.*)/ig.test(location.href)) { const obj = {} const query = location.href.split('?')[1].replace(/\?/, '').split('&')