flat:赞存
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user