From 25baffb94efbd23ee683fe77a612ee63b65c780b Mon Sep 17 00:00:00 2001 From: zyh Date: Tue, 2 Jul 2024 17:10:20 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-3494=20fix:=20Explore=20Split=20=E5=88=86?= =?UTF-8?q?=E5=89=B2=E6=97=B6=EF=BC=8C=E6=9F=A5=E8=AF=A2=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E9=94=99=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/page/dashboard/explore/exploreItem.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue b/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue index 3b6dc91e2..ade99a9cd 100644 --- a/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue +++ b/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue @@ -3774,8 +3774,8 @@ export default { lastHistory: [], showChart: false, showTable: false, - uplotChartInfo: lineData, - uplotChartInfoLog: logData, + uplotChartInfo: null, + uplotChartInfoLog: null, uplotChartData: [], showAllData: false, supplementaryData: [], @@ -3783,6 +3783,10 @@ export default { } }, async created () { + this.uplotChartInfo = this.$lodash.cloneDeep(lineData) + this.uplotChartInfo.id += Date.now() + this.uplotChartInfoLog = this.$lodash.cloneDeep(logData) + this.uplotChartInfoLog.id += Date.now() this.init() this.getPanelData() this.resetExpression()