|
|
@ -1347,7 +1347,7 @@ function webShell() { |
|
|
|
|
|
|
|
|
|
|
|
term.open(); |
|
|
|
term.open(); |
|
|
|
term.setOption('cursorBlink', true); |
|
|
|
term.setOption('cursorBlink', true); |
|
|
|
term.setOption('fontSize', 10); |
|
|
|
term.setOption('fontSize', 14); |
|
|
|
gterm = term |
|
|
|
gterm = term |
|
|
|
|
|
|
|
|
|
|
|
socket.on('server_response', function (data) { |
|
|
|
socket.on('server_response', function (data) { |
|
|
@ -1379,7 +1379,7 @@ function webShell() { |
|
|
|
var term_box = layer.open({ |
|
|
|
var term_box = layer.open({ |
|
|
|
type: 1, |
|
|
|
type: 1, |
|
|
|
title: "本地终端", |
|
|
|
title: "本地终端", |
|
|
|
area: ['600px','400px'], |
|
|
|
area: ['750px','435px'], |
|
|
|
closeBtn: 2, |
|
|
|
closeBtn: 2, |
|
|
|
shadeClose: false, |
|
|
|
shadeClose: false, |
|
|
|
content: '<div class="term-box"><div id="term"></div></div>\ |
|
|
|
content: '<div class="term-box"><div id="term"></div></div>\ |
|
|
|