mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-08 12:29:06 +00:00
fix(web teminal): 修改动态改变窗口大小bug
变量名写错引起的不明显bug
This commit is contained in:
parent
bce3def4c6
commit
c79e625000
@ -134,7 +134,7 @@
|
|||||||
var geom = resize();
|
var geom = resize();
|
||||||
console.log(geom);
|
console.log(geom);
|
||||||
term_client.term.resize(geom.cols, geom.rows);
|
term_client.term.resize(geom.cols, geom.rows);
|
||||||
term_client.client.send({'resize': {'roles': geom.rows, 'cols': geom.cols}});
|
term_client.client.send({'resize': {'rows': geom.rows, 'cols': geom.cols}});
|
||||||
$('#ssh').show();
|
$('#ssh').show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user