新增跳转时打开新窗口功能

This commit is contained in:
2026-07-24 18:19:33 +08:00
parent 0e88255852
commit f3bdb07e3d
22 changed files with 132 additions and 46 deletions
+4 -3
View File
@@ -712,14 +712,15 @@
function redirectAfterRegister(hasToken) {
if (hasToken) {
window.location.href =
NavigationUtil.open(
typeof CommonUtil !== "undefined"
? CommonUtil.siteHref("/index.html")
: "index.html";
: "index.html",
);
return;
}
window.location.href = "login.html";
NavigationUtil.open("login.html");
}
function finishRegisterSuccess(res) {