From 83134fe15e16b3909e4d427b3c3fae9e49a308f7 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 29 Dec 2021 11:54:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E5=88=86=E7=BB=84=E5=9B=BE=E6=A0=87=E5=8F=AF=E8=83=BD=E8=A2=AB?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/group/Group.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/chart/group/Group.vue b/frontend/src/views/chart/group/Group.vue index 8c8bd80dd6..b6d79352d1 100644 --- a/frontend/src/views/chart/group/Group.vue +++ b/frontend/src/views/chart/group/Group.vue @@ -426,7 +426,7 @@ export default { all: this.$t('commons.all'), folder: this.$t('commons.folder') }, - currentNodeData: {}, + currentViewNodeData: {}, currentKey: null } }, @@ -672,8 +672,8 @@ export default { }, nodeClick(data, node) { - this.currentNodeData = data if (data.modelInnerType !== 'group') { + this.currentViewNodeData = data this.$emit('switchComponent', { name: 'ChartEdit', param: data }) } }, @@ -934,8 +934,8 @@ export default { this.searchType = searchTypeInfo }, nodeTypeChange(newType) { - if (this.currentNodeData) { - this.currentNodeData.modelInnerType = newType + if (this.currentViewNodeData) { + this.currentViewNodeData.modelInnerType = newType } } }