From 4e8f58fe8726597f3c207c9cd1e2c17353395492 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 13 Oct 2023 11:01:30 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-3213=20=20feat=20=EF=BC=9A=20logql=20?= =?UTF-8?q?=E8=A1=A8=E8=BE=BE=E5=BC=8F=E8=BE=93=E5=85=A5=E6=94=AF=E6=8C=81?= =?UTF-8?q?=20step=20=E5=92=8C=20querytype=20=E7=BB=84=E4=BB=B6=E5=BC=80?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/common/mixin/promqlInput.js | 2 +- .../page/dashboard/explore/exploreItem.vue | 252 +++++++--- .../dashboard/explore/exploreItemMixin.js | 467 ++++++++++++++++++ .../page/dashboard/explore/promqlInput.vue | 2 +- 4 files changed, 644 insertions(+), 79 deletions(-) create mode 100644 nezha-fronted/src/components/page/dashboard/explore/exploreItemMixin.js diff --git a/nezha-fronted/src/components/common/mixin/promqlInput.js b/nezha-fronted/src/components/common/mixin/promqlInput.js index 16c136758..ed2563470 100644 --- a/nezha-fronted/src/components/common/mixin/promqlInput.js +++ b/nezha-fronted/src/components/common/mixin/promqlInput.js @@ -73,7 +73,7 @@ export default { watch: { }, created () { - this.queryMetrics() + // this.queryMetrics() }, beforeDestroy () { this.$store.commit('setMetricsList', []) diff --git a/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue b/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue index 42025c9a5..0fc7ea618 100644 --- a/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue +++ b/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue @@ -1,6 +1,6 @@