From b629ef4d898b4c58ca45fbea27ae0b94211aa990 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 22 Mar 2022 15:42:50 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1708=20fix=EF=BC=9AChart=20templates?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=88=A0=E9=99=A4=E5=9B=BE=E8=A1=A8=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E6=8C=89=E9=92=AE=E5=90=8E=E5=BC=B9=E7=AA=97=E5=90=8E?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=8F=96=E6=B6=88=E6=B5=8F=E8=A7=88=E5=99=A8?= =?UTF-8?q?=E6=8A=A5=E9=94=99=EF=BC=8C=E5=86=8D=E6=AC=A1=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=8C=89=E9=92=AE=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/bottomBox/tabs/panelTabNew.vue | 1 + nezha-fronted/src/components/page/dashboard/panel.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue index d726ba560..cc6665861 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue @@ -421,6 +421,7 @@ export default { this.closeRightBox(true) } else { this.$message.error(response.msg) + this.$store.dispatch('clearPanel') } }) }) diff --git a/nezha-fronted/src/components/page/dashboard/panel.vue b/nezha-fronted/src/components/page/dashboard/panel.vue index 6c09d0c50..3bb9f67c1 100644 --- a/nezha-fronted/src/components/page/dashboard/panel.vue +++ b/nezha-fronted/src/components/page/dashboard/panel.vue @@ -512,6 +512,7 @@ export default { // this.getTableData(); //删除相关图表后,刷新面板数据 } else { this.$message.error(response.msg) + this.$store.dispatch('clearPanel') } }) }).catch(() => {