feat:新功能

webshell模块
1.header增加xshell入口(调整header进入xshell的菜单的样式,功能实现)
This commit is contained in:
hanyuxia
2020-03-09 19:47:15 +08:00
parent 8b952f4d8a
commit bdb95895e7
9 changed files with 183 additions and 29 deletions

View File

@@ -1,6 +1,7 @@
<style scoped>
.console{
height:305px;
padding:5px 5px;
background-color: black;
}
</style>
@@ -152,6 +153,9 @@ term.toggleFullScreen();//全屏
window.removeEventListener('resize',this.windowChange)
}; */
},
focusConsole(){
this.term.focus();
},
create(){
let that = this;
let rows = this.termimalRows;
@@ -297,7 +301,9 @@ term.toggleFullScreen();//全屏
}
//初始化console的高度
const consoleBox = document.getElementById('ternimalContainer'+this.idIndex);
consoleBox.style.height = `${this.termimalHeight}px`;
if(consoleBox){
consoleBox.style.height = `${this.termimalHeight}px`;
}
},
},
mounted () {