From 9e50b5c6f9be1c613d33d9f6e2b35ded2d0e7c6c Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 23 Dec 2021 19:37:52 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20=E4=BF=AE=E6=94=B9=E5=A4=8D?= =?UTF-8?q?=E5=88=B6chart=20=E8=A1=A8=E8=BE=BE=E5=BC=8F=E6=9C=AA=E8=A2=AB?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/page/dashboard/panel.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nezha-fronted/src/components/page/dashboard/panel.vue b/nezha-fronted/src/components/page/dashboard/panel.vue index 59089b87e..f79ab9de9 100644 --- a/nezha-fronted/src/components/page/dashboard/panel.vue +++ b/nezha-fronted/src/components/page/dashboard/panel.vue @@ -417,6 +417,11 @@ export default { this.chart.panelId = this.showPanel.id this.chart.panelName = this.showPanel.name this.chart.id = '' + this.chart.elements.forEach((item) => { + item.id = '' + item.chartId = '' + delete item.seq + }) } else { this.rightBox.loading = true this.$get('visual/panel/chart/' + data.id).then(res => {