Commit c79e6250 authored by ibuler's avatar ibuler

fix(web teminal): 修改动态改变窗口大小bug

变量名写错引起的不明显bug
parent bce3def4
......@@ -134,7 +134,7 @@
var geom = resize();
console.log(geom);
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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment