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 @@
--> -
-
-
-
-
-
- - - - - - +
+
+
+
+
+
+
+ + + + + + A A A - - + + - - - - - + + + + +
{{$t('webshell.upload')}}
-
- -
{{$t('webshell.download')}}
-
-
-
+ + +
{{$t('webshell.download')}}
+
+ + - - - - + + + +
{{item.title}} + style="margin-top: 0px;">
{{item.title}} - + - - - + - - - - - - - - -
+ + + + + + + + + + + + +
-
- -
-
+
+ +
+
- - - - -
{{$t('overall.dragFileTip')}},{{$t('overall.or')}} {{$t('overall.clickUpload')}}
- -
-
-
- - - - - - - - -
- -
-
- -
-
- - - - - - - - -
- -
-
- -
-
-
-
-
-
-

{{$t('webshell.closeTip')}}

+
-
-
diff --git a/nezha-fronted/src/components/page/dashboard/chartBox.vue b/nezha-fronted/src/components/page/dashboard/chartBox.vue index 37302bb87..d37e4d98c 100644 --- a/nezha-fronted/src/components/page/dashboard/chartBox.vue +++ b/nezha-fronted/src/components/page/dashboard/chartBox.vue @@ -1447,7 +1447,6 @@ }); }); params.elements = elements; - console.log(params,'params'); if (valid) { this.$refs.chartsPreview.show(params); } @@ -1636,7 +1635,6 @@ deep: true, immediate: true, handler(n) { - console.log(n,(n.param&&n.param.valueMapping)&&(n.type === 'singleStat' || n.type === 'table')); if((n.param&&n.param.valueMapping)&&(n.type === 'singleStat' || n.type === 'table')){ n.param.valueMapping.mapping.forEach(item=>{ this.showPicker.push({bac:false,text:false})