flat: 石河子修改登陆跳转问题
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
VUE_APP_SITE='default'
|
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_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_SUPPER_MAP = http://10.165.0.44:1205/proxy/rest/maps/c02c6f51f3ab4190bffd5e3e54cf5ac4/111013e9067749488d44841208771768
|
||||||
VUE_APP_TIANDITU_APIKEY = e4266a5e84fe6c10f60c559967f0a03f
|
VUE_APP_TIANDITU_APIKEY = e4266a5e84fe6c10f60c559967f0a03f
|
||||||
#VUE_APP_LARGESCREEN = http://10.165.0.173/largescreen/
|
#VUE_APP_LARGESCREEN = http://10.165.0.173/largescreen/
|
||||||
|
|||||||
@@ -46,11 +46,11 @@ import topLang from "@/page/index/top/top-lang";
|
|||||||
import { getCaptcha } from "@/api/user";
|
import { getCaptcha } from "@/api/user";
|
||||||
|
|
||||||
console.log('是否跳转', /(^http)(s?):\/\/([a-z0-9].+)\/manage(\/)?$/i.test(location.href), location.href)
|
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 (/(^http)(s?):\/\/([a-z0-9].+)\/manage(\/)?$/i.test(location.href)) {
|
||||||
if (process.env.NODE_ENV !== "development") {
|
// if (process.env.NODE_ENV !== "development") {
|
||||||
window.location.href = process.env.VUE_APP_LOGIN_NEXT;
|
// window.location.href = process.env.VUE_APP_LOGIN_NEXT;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
if (/(\/login\?)(.*)/ig.test(location.href)) {
|
if (/(\/login\?)(.*)/ig.test(location.href)) {
|
||||||
const obj = {}
|
const obj = {}
|
||||||
const query = location.href.split('?')[1].replace(/\?/, '').split('&')
|
const query = location.href.split('?')[1].replace(/\?/, '').split('&')
|
||||||
|
|||||||
Reference in New Issue
Block a user