diff --git a/nezha-fronted/src/components/cli/console.vue b/nezha-fronted/src/components/cli/console.vue index d710fc787..0048b58e8 100644 --- a/nezha-fronted/src/components/cli/console.vue +++ b/nezha-fronted/src/components/cli/console.vue @@ -92,7 +92,10 @@ export default { } }); }, - fullScreenConsole(isFullScreen){ + fullScreenConsole(isFullScreen, resizeHeight){ + if (resizeHeight) { + this.termimalHeight = resizeHeight; + } this.isFullScreen = isFullScreen; //this.term.toggleFullScreen(isFullScreen);//全屏后无法显示顶部菜单和tab let height = document.body.clientHeight-this.topMenuHeight;//可视高度 diff --git a/nezha-fronted/src/components/cli/webSSH.vue b/nezha-fronted/src/components/cli/webSSH.vue index 057fa1a8c..6376996ea 100644 --- a/nezha-fronted/src/components/cli/webSSH.vue +++ b/nezha-fronted/src/components/cli/webSSH.vue @@ -60,7 +60,8 @@ - + +