From 1b1f3e056c7a8e61a224392fdd28a6d5d486c832 Mon Sep 17 00:00:00 2001 From: junjie Date: Tue, 8 Jun 2021 15:00:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(frontend):=E5=88=86=E7=BB=84=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E8=8F=9C=E5=8D=95=E6=8E=A7=E5=88=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=EF=BC=8C=E9=BB=98=E8=AE=A4=E9=9A=90=E8=97=8F=EF=BC=8C=E9=BC=A0?= =?UTF-8?q?=E6=A0=87=E7=A7=BB=E4=B8=8A=E5=90=8E=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/group/Group.vue | 14 ++++++++++---- frontend/src/views/dataset/group/Group.vue | 14 ++++++++++---- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/frontend/src/views/chart/group/Group.vue b/frontend/src/views/chart/group/Group.vue index d88ab7fb66..941b077e0f 100644 --- a/frontend/src/views/chart/group/Group.vue +++ b/frontend/src/views/chart/group/Group.vue @@ -41,7 +41,7 @@ :expand-on-click-node="true" @node-click="nodeClick" > - + @@ -53,7 +53,7 @@ {{ data.name }} - + @@ -150,12 +150,12 @@ highlight-current @node-click="sceneClick" > - + {{ data.name }} - + @@ -692,4 +692,10 @@ export default { white-space: nowrap; text-overflow: ellipsis; } + .father .child { + display: none; + } + .father:hover .child { + display: inline; + } diff --git a/frontend/src/views/dataset/group/Group.vue b/frontend/src/views/dataset/group/Group.vue index ec9f694d7e..acc8cb2fd4 100644 --- a/frontend/src/views/dataset/group/Group.vue +++ b/frontend/src/views/dataset/group/Group.vue @@ -41,7 +41,7 @@ :expand-on-click-node="true" @node-click="nodeClick" > - + @@ -53,7 +53,7 @@ {{ data.name }} - + @@ -179,7 +179,7 @@ highlight-current @node-click="sceneClick" > - + @@ -193,7 +193,7 @@ {{ data.name }} - + @@ -634,4 +634,10 @@ export default { white-space: nowrap; text-overflow: ellipsis; } + .father .child { + display: none; + } + .father:hover .child { + display: inline; + }