diff --git a/nezha-fronted/src/components/charts/chartPreview.vue b/nezha-fronted/src/components/charts/chartPreview.vue index 2a29aaf80..34700c9dd 100644 --- a/nezha-fronted/src/components/charts/chartPreview.vue +++ b/nezha-fronted/src/components/charts/chartPreview.vue @@ -368,7 +368,6 @@ // 获取一个图表具体数据 getChartData() { const chartItem = this.chart; - console.log(chartItem); if(chartItem.type === 'alertList'){ this.getAlertListChartData(chartItem,null); return; @@ -572,7 +571,6 @@ if(this.mapping&&!this.mapping.color){ this.mapping.color={bac:'#fff',text:'#000'} } - console.log(mapping) this.serieSingleStat = mapping?mapping.text.replace('{{value}}', singleStatTmp):chartDataFormat.getUnit(chartItem.unit?chartItem.unit:2).compute(singleStatTmp,null,2); }else{ this.serieSingleStat = chartDataFormat.getUnit(chartItem.unit?chartItem.unit:2).compute(singleStatTmp,null,2); diff --git a/nezha-fronted/src/components/cli/console.vue b/nezha-fronted/src/components/cli/console.vue index ede24a47c..fa04ea695 100644 --- a/nezha-fronted/src/components/cli/console.vue +++ b/nezha-fronted/src/components/cli/console.vue @@ -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;//可视宽度 diff --git a/nezha-fronted/src/components/cli/webSSH.scss b/nezha-fronted/src/components/cli/webSSH.scss index 0f1137a06..233cd2349 100644 --- a/nezha-fronted/src/components/cli/webSSH.scss +++ b/nezha-fronted/src/components/cli/webSSH.scss @@ -128,9 +128,8 @@ } } .shell-service-max { - height: 100% !important; + height: 100%; position: fixed !important; - top: 0; bottom: 0; } diff --git a/nezha-fronted/src/components/cli/webSSH.vue b/nezha-fronted/src/components/cli/webSSH.vue index ef2d3355f..4634c1252 100644 --- a/nezha-fronted/src/components/cli/webSSH.vue +++ b/nezha-fronted/src/components/cli/webSSH.vue @@ -7,170 +7,171 @@