diff --git a/nezha-fronted/index.html b/nezha-fronted/index.html index 9f2a195c3..82d9e7ba9 100644 --- a/nezha-fronted/index.html +++ b/nezha-fronted/index.html @@ -11,7 +11,8 @@ * { margin: 0; padding: 0; - font-family: Roboto, 'Times New Roman'; + /*font-family: Roboto, 'Times New Roman';*/ + font-family: Roboto; } @media only screen and (min-width: 10px) and (min-height: 10px){ html { diff --git a/nezha-fronted/src/components/common/alert/alertMessageTable.vue b/nezha-fronted/src/components/common/alert/alertMessageTable.vue index 600a45eb0..188b5ac95 100644 --- a/nezha-fronted/src/components/common/alert/alertMessageTable.vue +++ b/nezha-fronted/src/components/common/alert/alertMessageTable.vue @@ -500,7 +500,6 @@ } } else { this.$message.error(response.data.error) - console.error(response.data) } } }); @@ -597,7 +596,6 @@ this.$emit('deleteMessage',this.deleteBox,()=>{ this.deleteBox.ids=[]; }); - //console.log(this.deleteBox); this.deleteBox.show = false; }, selectChange(s) { @@ -824,8 +822,6 @@ this.tools.customTableTitle = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + '/alertList') ? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + '/alertList')) : this.tableTitle; - - // console.info(this.tools.customTableTitle) //是否存在分页缓存 let pageSize = localStorage.getItem('nz-pageSize-' + localStorage.getItem('nz-username') + '-' + this.tableId); if (pageSize != 'undefined' && pageSize != null) { @@ -859,7 +855,6 @@ this.dropCol = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path) ? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path)) : this.tableTitle; - console.log(1); } if(this.from=='alertMessageTab' || this.from=='chartList'){ this.tablelable = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-/alertList") @@ -868,9 +863,8 @@ this.dropCol = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-/alertList") ? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-/alertList")) : this.tableTitle; - console.log(2); } - console.log( this.tableTitle,this.fromPath,this.form,this.tablelable);*/ + */ } } diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue index 95ffdb707..05cd0b7ac 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue @@ -414,7 +414,7 @@ } } else { this.$message.error(response.data.error) - console.error(response.data) + // console.error(response.data) } } }); diff --git a/nezha-fronted/src/components/common/project/chart.scss b/nezha-fronted/src/components/common/project/chart.scss index afd2b5002..2dd7c7b44 100644 --- a/nezha-fronted/src/components/common/project/chart.scss +++ b/nezha-fronted/src/components/common/project/chart.scss @@ -94,7 +94,7 @@ } .panel-info-corner .fa { position: relative; - top: -6px; + top: -4px; left: -6px; font-size: 75%; z-index: 3; diff --git a/nezha-fronted/src/components/common/project/popData/chart.scss b/nezha-fronted/src/components/common/project/popData/chart.scss index 487af9f06..80e3cee1a 100644 --- a/nezha-fronted/src/components/common/project/popData/chart.scss +++ b/nezha-fronted/src/components/common/project/popData/chart.scss @@ -94,7 +94,7 @@ } .panel-info-corner .fa { position: relative; - top: -6px; + top: -4px; left: -6px; font-size: 75%; z-index: 3; diff --git a/nezha-fronted/src/components/common/project/popData/lineChart.vue b/nezha-fronted/src/components/common/project/popData/lineChart.vue index 2e6754cca..b7c29ddf9 100644 --- a/nezha-fronted/src/components/common/project/popData/lineChart.vue +++ b/nezha-fronted/src/components/common/project/popData/lineChart.vue @@ -589,7 +589,7 @@ } sum +=val; str += `
@@ -876,7 +876,6 @@ this_.popDataShowUpdate(''); } let selId=params.nodes[0]; - console.log(this_.selNodeId,selId,"click"); // if(this_.selNodeId&& this_.selNodeId===selId){return;} if(selId){ this_.selNodeId=selId; @@ -887,7 +886,6 @@ this.network.on("selectNode", function (params) { //选择节点 let selId=params.nodes[0]; - console.log(this_.selNodeId,selId,"selectNode") if(this_.selNodeId&& this_.selNodeId===selId){ if(selId){ this_.cursorMove=true; @@ -1219,7 +1217,7 @@ } .edit-topology-add{ display: inline-block; - width: 30px; + width: 36px; } .edit-topology-add:hover,.edit-topology-remove:active,.edit-topologyCancel{ font-weight: bold; diff --git a/nezha-fronted/src/components/common/rightBox/trafficSetting/trafficSettingBox.vue b/nezha-fronted/src/components/common/rightBox/trafficSetting/trafficSettingBox.vue index 950bca07c..6cee62b65 100644 --- a/nezha-fronted/src/components/common/rightBox/trafficSetting/trafficSettingBox.vue +++ b/nezha-fronted/src/components/common/rightBox/trafficSetting/trafficSettingBox.vue @@ -314,7 +314,6 @@ return item; }) }else{ - console.log('query asset informations faild,cause :'+response.msg) this.$message.error(response.msg); } }) diff --git a/nezha-fronted/src/components/page/config/mib.vue b/nezha-fronted/src/components/page/config/mib.vue index 78ce22ae4..3fa7c918f 100644 --- a/nezha-fronted/src/components/page/config/mib.vue +++ b/nezha-fronted/src/components/page/config/mib.vue @@ -283,7 +283,6 @@ this.getTableData(); }, downloadMib(mib) { - console.info(mib) axios.get('/mib/download?id='+mib.id,{responseType: 'blob'}).then(data=>{ let fileName = new Date().getTime()+'.txt'; let disposition=data.headers['content-disposition']; diff --git a/nezha-fronted/src/components/page/dashboard/explore/editor.vue b/nezha-fronted/src/components/page/dashboard/explore/editor.vue index 1ac5824bf..d6e3ae604 100644 --- a/nezha-fronted/src/components/page/dashboard/explore/editor.vue +++ b/nezha-fronted/src/components/page/dashboard/explore/editor.vue @@ -553,7 +553,6 @@ }) this.showSuggestions=result; let end = new Date().getTime(); - console.log("filter time:",(end - start),'ms') resolve(); })).then(()=>{ if(Object.keys(this.showSuggestions).length>0){ diff --git a/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue b/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue index 01aea4d7b..bed15700e 100644 --- a/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue +++ b/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue @@ -172,7 +172,6 @@ dropDownVisible:function(n,o){ if(this.$refs.metricSelector){ this.$refs.metricSelector.dropDownVisible=n; - console.log(this.cascaderValue) if(!this.expressionList[this.index]||this.expressionList[this.index] == ''){ this.cascaderValue=""; } diff --git a/nezha-fronted/src/components/page/dashboard/overview/chart.vue b/nezha-fronted/src/components/page/dashboard/overview/chart.vue index 1e7440fc4..23e2aaa66 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/chart.vue +++ b/nezha-fronted/src/components/page/dashboard/overview/chart.vue @@ -57,7 +57,6 @@ }, created() { this.option=chartConfig.getOption(this.chartType); - console.log(this.option); if(this.showToolbox == false){ //this.option.grid.top = 10; } @@ -166,13 +165,11 @@ this.option.yAxis.axisLabel.formatter=this.defaultYAxisFormatter } } - // console.log(this.option) if(this.series){ this.$set(this.option,'series',this.series); this.noData=false; this.chart.clear(); this.optionSeriesAll=[...this.option.series]; - // console.log( this.optionSeriesAll); if(this.option.series instanceof Array){ this.option.series=this.option.series.filter((item,index)=>index