From 1846b282d6e4cb140e4f1ebce94fdd63315f4e7c Mon Sep 17 00:00:00 2001 From: junjie Date: Wed, 19 Jan 2022 17:46:08 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20=E4=BA=A4=E4=BA=92=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/group/Group.vue | 2 +- frontend/src/views/chart/view/ChartEdit.vue | 5 ----- frontend/src/views/dataset/data/ViewTable.vue | 5 ----- frontend/src/views/dataset/group/Group.vue | 2 +- 4 files changed, 2 insertions(+), 12 deletions(-) diff --git a/frontend/src/views/chart/group/Group.vue b/frontend/src/views/chart/group/Group.vue index ce6df9f42e..8699cabcf3 100644 --- a/frontend/src/views/chart/group/Group.vue +++ b/frontend/src/views/chart/group/Group.vue @@ -558,7 +558,7 @@ export default { showClose: true }) this.treeNode() - this.$store.dispatch('chart/setTable', new Date().getTime()) + this.$emit('switchComponent', { name: '' }) }) } else { // this.$message({ diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 9e06993987..4dd3c6b274 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -1,7 +1,6 @@