fix: 暂时去掉promql联想;删除几个console.log
This commit is contained in:
@@ -1396,8 +1396,10 @@
|
|||||||
this.clearChart();
|
this.clearChart();
|
||||||
//const addChartBox = document.querySelector('.right-box-add-chart');
|
//const addChartBox = document.querySelector('.right-box-add-chart');
|
||||||
//addChartBox.style.cssText = this.oldChartBoxCss;
|
//addChartBox.style.cssText = this.oldChartBoxCss;
|
||||||
this.echartModalStore.off('magictypechanged');
|
try {
|
||||||
this.$refs.screenLegendArea._ps_.destroy();
|
this.echartModalStore.off('magictypechanged');
|
||||||
|
} 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 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>
|
<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>
|
<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">
|
<div class="metric-popper-main" v-show="showType">
|
||||||
<el-scrollbar style="height: 100%;width:100%" class="el-scrollbar-small" ref="scroll">
|
<el-scrollbar style="height: 100%;width:100%" class="el-scrollbar-small" ref="scroll">
|
||||||
<div v-for="(key, index) in orders" >
|
<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('')
|
this.$refs['promql-'+promqlIndex][0].setError('')
|
||||||
}else{
|
}else{
|
||||||
console.log(response)
|
//console.log(response)
|
||||||
this.$refs['promql-'+promqlIndex][0].setError(response.error)
|
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 () {
|
expressionChange: function () {
|
||||||
let nowTimeType=this.$refs.pickTime.$refs.timePicker.nowTimeType;
|
let nowTimeType=this.$refs.pickTime.$refs.timePicker.nowTimeType;
|
||||||
console.log(this.filterTime,nowTimeType);
|
//console.log(this.filterTime,nowTimeType);
|
||||||
this.setSearchTime(nowTimeType.type,nowTimeType.value);
|
this.setSearchTime(nowTimeType.type,nowTimeType.value);
|
||||||
if (this.expressions && this.expressions.length >= 1) {
|
if (this.expressions && this.expressions.length >= 1) {
|
||||||
this.queryTableData();
|
this.queryTableData();
|
||||||
|
|||||||
Reference in New Issue
Block a user