fix: 修复terminal尺寸bug

This commit is contained in:
陈劲松
2020-11-24 18:53:35 +08:00
committed by chenjinsong
parent 89685a427f
commit 6864d444b1
2 changed files with 8 additions and 9 deletions

View File

@@ -191,7 +191,7 @@
isFullScreen:false,
closeConfirmShow:false,
closeRemember:false,
initConsoleHeight:250,//只读,初始化高度
initConsoleHeight:300,//只读,初始化高度
consoleHeight:250,//console高度
resizeConsoleHeight: 250, //resize后的高度用于记录最大化、最小化前的高度
currentTransform:0,
@@ -312,7 +312,7 @@
let targetDiv= document.getElementById('shell-service');
targetDiv.style.height=this.initConsoleHeight+'px';
this.consoleHeight = this.initConsoleHeight;
this.consoleHeight = this.initConsoleHeight-50;
this.$store.commit('closeConsole');