fix:修改terminal 显示隐藏通过高度控制 添加动画

This commit is contained in:
zhangyu
2020-12-07 11:14:11 +08:00
parent 59ae4e3efe
commit f07b6e889e
5 changed files with 159 additions and 149 deletions

View File

@@ -98,7 +98,7 @@ export default {
if (resizeHeight) {
this.termimalHeight = resizeHeight;
}
this.isFullScreen = isFullScreen;
// this.isFullScreen = isFullScreen;
//this.term.toggleFullScreen(isFullScreen);//全屏后无法显示顶部菜单和tab
let height = document.body.clientHeight-this.topMenuHeight;//可视高度
let width = document.body.clientWidth;//可视宽度