flat:赞存

This commit is contained in:
Apcallover
2025-11-14 10:11:44 +08:00
parent 4f4f6e115b
commit 5591ab8313
5 changed files with 26 additions and 18 deletions

View File

@@ -47,7 +47,9 @@ 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)) {
// window.location.href = process.env.VUE_APP_LOGIN_NEXT
if (process.env.NODE_ENV !== "development") {
window.location.href = process.env.VUE_APP_LOGIN_NEXT;
}
}
if (/(\/login\?)(.*)/ig.test(location.href)) {
const obj = {}