From a47a1dd1c4e4075ffd30170c35ba52125c7a3e7a Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Fri, 17 Dec 2021 10:16:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20panelChart=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/chart/panelChart.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nezha-fronted/src/components/chart/panelChart.vue b/nezha-fronted/src/components/chart/panelChart.vue index 47b6167be..d6c7d6bc7 100644 --- a/nezha-fronted/src/components/chart/panelChart.vue +++ b/nezha-fronted/src/components/chart/panelChart.vue @@ -154,11 +154,13 @@ export default { this.$get('asset/asset/' + this.chartDetailInfo.id).then(res => { this.chartData = res.data }) + break } if (this.chartInfo.type === 'endpointInfo') { this.$get('monitor/endpoint/' + this.chartDetailInfo.id).then(res => { this.chartData = res.data }) + break } const q = { type: this.chartInfo.param.datasource[0].type,