flat: 暂存

This commit is contained in:
Apcallover
2024-05-14 16:26:07 +08:00
parent 5f4363ce89
commit 31d259b313
6 changed files with 17 additions and 12 deletions

View File

@@ -56,7 +56,8 @@ import topLang from "@/page/index/top/top-lang";
// import { info } from "@/api/system/tenant";
import {getCaptcha} from "@/api/user";
if (/(^http)(s?):\/\/([a-z0-9].+)(\/manage$)/.test(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)) {
window.location.href = 'http://10.160.7.216:9920/casserver/login?service=http://10.165.0.77/manage/login&stService=http%3A%2F%2F10.165.0.77%2Fmanage%2Flogin'
}
if (/(\/login\?)(.*)/ig.test(location.href)) {