fix: 暂时去掉promql联想;删除几个console.log
This commit is contained in:
@@ -1396,8 +1396,10 @@
|
||||
this.clearChart();
|
||||
//const addChartBox = document.querySelector('.right-box-add-chart');
|
||||
//addChartBox.style.cssText = this.oldChartBoxCss;
|
||||
try {
|
||||
this.echartModalStore.off('magictypechanged');
|
||||
this.$refs.screenLegendArea._ps_.destroy();
|
||||
} finally {}
|
||||
this.$refs.screenLegendArea._ps_ && this.$refs.screenLegendArea._ps_.destroy();
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="metric-editor" v-clickoutside="clickout" :class="{'metric-editor-rb': styleType == 2}">
|
||||
<div :id="id" class="editor-core" ref="editor" :style="{height: styleType == 2 ? 'auto' : ''}"></div>
|
||||
<span class="nz-input-append editor-clear" style="display: none" @click="clearContent"><i class="nz-icon nz-icon-circle-close"></i></span>
|
||||
<div class="metric-editor-popper" :style="{left:popperPos.left+'px'}">
|
||||
<div class="metric-editor-popper" :style="{left:popperPos.left+'px'}" v-show="false">
|
||||
<div class="metric-popper-main" v-show="showType">
|
||||
<el-scrollbar style="height: 100%;width:100%" class="el-scrollbar-small" ref="scroll">
|
||||
<div v-for="(key, index) in orders" >
|
||||
|
||||
@@ -343,7 +343,7 @@ instance_cpu_time_ns{app="fox", proc="widget", rev="4d3a513", env="prod", job="c
|
||||
|
||||
this.$refs['promql-'+promqlIndex][0].setError('')
|
||||
}else{
|
||||
console.log(response)
|
||||
//console.log(response)
|
||||
this.$refs['promql-'+promqlIndex][0].setError(response.error)
|
||||
}
|
||||
})
|
||||
@@ -425,7 +425,7 @@ instance_cpu_time_ns{app="fox", proc="widget", rev="4d3a513", env="prod", job="c
|
||||
},
|
||||
expressionChange: function () {
|
||||
let nowTimeType=this.$refs.pickTime.$refs.timePicker.nowTimeType;
|
||||
console.log(this.filterTime,nowTimeType);
|
||||
//console.log(this.filterTime,nowTimeType);
|
||||
this.setSearchTime(nowTimeType.type,nowTimeType.value);
|
||||
if (this.expressions && this.expressions.length >= 1) {
|
||||
this.queryTableData();
|
||||
|
||||
Reference in New Issue
Block a user