fix: 修复terminal窗口resize的bug等

This commit is contained in:
陈劲松
2020-10-15 19:28:43 +08:00
committed by chenjinsong
parent e80994e9d4
commit 1d0c8646f1
5 changed files with 11 additions and 9 deletions

View File

@@ -191,9 +191,9 @@
isFullScreen:false,
closeConfirmShow:false,
closeRemember:false,
initConsoleHeight:300,//只读,初始化高度
consoleHeight:300,//console高度
resizeConsoleHeight: 300, //resize后的高度用于记录最大化、最小化前的高度
initConsoleHeight:250,//只读,初始化高度
consoleHeight:250,//console高度
resizeConsoleHeight: 250, //resize后的高度用于记录最大化、最小化前的高度
currentTransform:0,
editableTabsValue: '-1',//当前显示的console
currentIndex:'-1',
@@ -290,6 +290,7 @@
this.closeConfirmShow = true;
}
}
document.querySelector(".sub-list").style.height = "";
},
cancleConfirm(){
this.closeConfirmShow = false;