From 305ce26e4d59308959e5a313feaedc4f793ce997 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 1 Feb 2021 20:13:14 +0800 Subject: [PATCH] web ssh opt --- plugins/webssh/js/webssh.js | 4 ++-- route/static/app/public.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/webssh/js/webssh.js b/plugins/webssh/js/webssh.js index 0245ba973..76bb4d4db 100755 --- a/plugins/webssh/js/webssh.js +++ b/plugins/webssh/js/webssh.js @@ -7,7 +7,7 @@ function web_shell2() { term.open(); term.setOption('cursorBlink', true); - term.setOption('fontSize', 10); + term.setOption('fontSize', 14); gterm = term socket.on('server_response', function (data) { @@ -39,7 +39,7 @@ function web_shell2() { var term_box = layer.open({ type: 1, title: "本地终端", - area: ['600px','400px'], + area: ['750px','435px'], closeBtn: 2, shadeClose: false, content: '
\ diff --git a/route/static/app/public.js b/route/static/app/public.js index ccf2ae8c6..faa95f260 100755 --- a/route/static/app/public.js +++ b/route/static/app/public.js @@ -1347,7 +1347,7 @@ function webShell() { term.open(); term.setOption('cursorBlink', true); - term.setOption('fontSize', 10); + term.setOption('fontSize', 14); gterm = term socket.on('server_response', function (data) { @@ -1379,7 +1379,7 @@ function webShell() { var term_box = layer.open({ type: 1, title: "本地终端", - area: ['600px','400px'], + area: ['750px','435px'], closeBtn: 2, shadeClose: false, content: '
\