From ba1d20b07bfd2206e2a00997bf8e814d59a3b8f7 Mon Sep 17 00:00:00 2001 From: junjie Date: Wed, 4 Aug 2021 12:03:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20tree=E8=8F=9C=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E9=A3=98=E7=A7=BB=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/group/Group.vue | 6 ++++-- frontend/src/views/dataset/group/Group.vue | 6 ++++-- frontend/src/views/panel/list/PanelList.vue | 6 ++++-- frontend/src/views/system/datasource/DsTree.vue | 6 ++++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/frontend/src/views/chart/group/Group.vue b/frontend/src/views/chart/group/Group.vue index 4fb5c85aba..0013a5df9e 100644 --- a/frontend/src/views/chart/group/Group.vue +++ b/frontend/src/views/chart/group/Group.vue @@ -1045,10 +1045,12 @@ export default { text-overflow: ellipsis; } .father .child { - display: none; + /*display: none;*/ + visibility: hidden; } .father:hover .child { - display: inline; + /*display: inline;*/ + visibility: visible; } .tree-style { padding: 10px 15px; diff --git a/frontend/src/views/dataset/group/Group.vue b/frontend/src/views/dataset/group/Group.vue index 3f5b8c37af..308b44ca2e 100644 --- a/frontend/src/views/dataset/group/Group.vue +++ b/frontend/src/views/dataset/group/Group.vue @@ -989,10 +989,12 @@ export default { text-overflow: ellipsis; } .father .child { - display: none; + /*display: none;*/ + visibility: hidden; } .father:hover .child { - display: inline; + /*display: inline;*/ + visibility: visible; } .dialog-css >>> .el-dialog__body { diff --git a/frontend/src/views/panel/list/PanelList.vue b/frontend/src/views/panel/list/PanelList.vue index 6530fb6fed..8b42d39483 100644 --- a/frontend/src/views/panel/list/PanelList.vue +++ b/frontend/src/views/panel/list/PanelList.vue @@ -647,10 +647,12 @@ export default { } .father .child { - display: none; + /*display: none;*/ + visibility: hidden; } .father:hover .child { - display: inline; + /*display: inline;*/ + visibility: visible; } diff --git a/frontend/src/views/system/datasource/DsTree.vue b/frontend/src/views/system/datasource/DsTree.vue index 8026935124..6b4e026daa 100644 --- a/frontend/src/views/system/datasource/DsTree.vue +++ b/frontend/src/views/system/datasource/DsTree.vue @@ -298,10 +298,12 @@ export default { text-overflow: ellipsis; } .father .child { - display: none; + /*display: none;*/ + visibility: hidden; } .father:hover .child { - display: inline; + /*display: inline;*/ + visibility: visible; } .tree-style { padding: 10px 15px;