新增跳转时打开新窗口功能
This commit is contained in:
@@ -235,7 +235,7 @@
|
||||
function checkLogin() {
|
||||
const token = CommonUtil.getAuthToken ? CommonUtil.getAuthToken() : localStorage.getItem("token");
|
||||
if (!token) {
|
||||
window.location.href = "login.html";
|
||||
NavigationUtil.open("login.html");
|
||||
return;
|
||||
}
|
||||
$("#notLoggedInBox").addClass("tl-hidden");
|
||||
|
||||
Reference in New Issue
Block a user