修改 - 部分逻辑

This commit is contained in:
suwings 2018-04-29 11:03:59 +08:00
parent 6f5d95425a
commit 76101cd83c
2 changed files with 2 additions and 6 deletions

View File

@ -21,6 +21,7 @@
});
MI.listener('ws/close', function (ws) {
TOOLS.setHeaderTitle("离线 | 当前与服务器断开..");
var webscoketStatus = VIEW_MODEL['websocketStatus'];
webscoketStatus['status'] = '!!! 连接断开 !!!';
webscoketStatus['is'] = false;

View File

@ -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;
}