diff --git a/plugins/webssh/js/webssh.js b/plugins/webssh/js/webssh.js index e1cabfff2..0585575b3 100755 --- a/plugins/webssh/js/webssh.js +++ b/plugins/webssh/js/webssh.js @@ -37,8 +37,8 @@ function web_shell2() { var term_box = layer.open({ type: 1, - title: "宝塔终端", - area: ['480px','360px'], + title: "本地终端", + area: ['500px','400px'], closeBtn: 2, shadeClose: false, content: '
\ diff --git a/route/__init__.py b/route/__init__.py index f335e8555..89016c185 100755 --- a/route/__init__.py +++ b/route/__init__.py @@ -281,11 +281,9 @@ def webssh(msg): @socketio.on('connect_event') def connected_msg(msg): if not isLogined(): - print 'not login' emit(pdata.s_response, {'data': '会话丢失,请重新登陆面板!\r\n'}) return None global shell, ssh - print 'connect_event:connected_msg', msg try: recv = shell.recv(8192) print recv.decode("utf-8")