From 98a2b26cd1dd9244756abc8fd9c38a2203aef7ee Mon Sep 17 00:00:00 2001 From: wangwenrui Date: Fri, 23 Oct 2020 11:57:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Dendpoint-query=20?= =?UTF-8?q?=E7=9A=84save=20chart=E6=97=A0=E6=B3=95=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=96=B0panel=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/bottomBox/tabs/endpointQueryTab.vue | 2 +- nezha-fronted/src/components/page/dashboard/chartBox.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue index 355c6ff90..626693d3d 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue @@ -110,7 +110,7 @@ - + diff --git a/nezha-fronted/src/components/page/dashboard/chartBox.vue b/nezha-fronted/src/components/page/dashboard/chartBox.vue index d78305868..9a863dbdf 100644 --- a/nezha-fronted/src/components/page/dashboard/chartBox.vue +++ b/nezha-fronted/src/components/page/dashboard/chartBox.vue @@ -675,7 +675,7 @@ panelId = this.panelId; panel=this.panelData.find(p => p.id === this.panelId); resolve() - } else if (this.showPanel && this.showPanel.type != "dashboard" && this.showPanel.type != 'explore') { + } else if (this.showPanel && this.showPanel.type != "dashboard" && this.showPanel.type != 'explore'&& this.showPanel.type != 'endpointQuery') { panelId = this.panelData[0].id; panel = this.panelData[0] resolve()