From f9bb7b500db112466ec35f04f2eab039d159d56b Mon Sep 17 00:00:00 2001 From: zyh Date: Wed, 25 Oct 2023 14:35:01 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-3259=20fix=EF=BC=9ANotebook=E4=B8=AD?= =?UTF-8?q?=E8=9C=82=E7=AA=9D=E5=9B=BE=E8=A1=A8=E6=B2=A1=E6=9C=89=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/chart/panelChart.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/chart/panelChart.vue b/nezha-fronted/src/components/chart/panelChart.vue index fe7635cbe..8b9aa9fe8 100644 --- a/nezha-fronted/src/components/chart/panelChart.vue +++ b/nezha-fronted/src/components/chart/panelChart.vue @@ -437,7 +437,7 @@ export default { if (this.chartInfo.type === 'log') { this.logChartDataFormat() } - console.log(this.$lodash.cloneDeep(this.chartData), '123123') + console.log(this.$lodash.cloneDeep(this.chartData), '123123') }).catch(res => { // console.info(res) }).finally(() => { @@ -467,7 +467,7 @@ export default { if (this.from == 'dashboard') { linkId = this.chartInfo.varId } else { - linkId = this.chartDetailInfo.id + linkId = this.chartDetailInfo && this.chartDetailInfo.id } if (this.chartInfo.type === 'assetInfo') { this.$get('asset/asset/' + linkId).then(res => {