diff --git a/frontend/src/views/chart/group/Group.vue b/frontend/src/views/chart/group/Group.vue index e15470f6fd..97c62da98d 100644 --- a/frontend/src/views/chart/group/Group.vue +++ b/frontend/src/views/chart/group/Group.vue @@ -516,9 +516,9 @@ export default { }, sceneClick(data, node) { - this.$store.dispatch('chart/setViewId', null) - this.$store.dispatch('chart/setViewId', data.id) - this.$emit('switchComponent', { name: 'ChartEdit' }) + // this.$store.dispatch('chart/setViewId', null) + // this.$store.dispatch('chart/setViewId', data.id) + this.$emit('switchComponent', { name: 'ChartEdit', param: { 'id': data.id }}) }, selectTable() { diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index e1b3817c0e..9f490e1a4e 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -1,6 +1,6 @@