mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-21 03:12:10 +08:00
修改 - 部分逻辑
This commit is contained in:
parent
6f5d95425a
commit
76101cd83c
@ -21,6 +21,7 @@
|
||||
});
|
||||
|
||||
MI.listener('ws/close', function (ws) {
|
||||
TOOLS.setHeaderTitle("离线 | 当前与服务器断开..");
|
||||
var webscoketStatus = VIEW_MODEL['websocketStatus'];
|
||||
webscoketStatus['status'] = '!!! 连接断开 !!!';
|
||||
webscoketStatus['is'] = false;
|
||||
|
@ -200,12 +200,7 @@
|
||||
|
||||
//是否登陆
|
||||
if (!MCSERVER.username) {
|
||||
TOOLS.pushMsgWindow('[认证失败] 请登录您的账号,正在为您跳转....');
|
||||
//重定向到登录页面
|
||||
setTimeout(function () {
|
||||
console.log("跳转");
|
||||
window.location.href = MCSERVER.URL("login");
|
||||
}, 4200);
|
||||
window.location.href = MCSERVER.URL("login");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user