From 13576f0d4d1fb15a80b0204c8590bf9f0adc4692 Mon Sep 17 00:00:00 2001 From: junjie Date: Wed, 4 Aug 2021 11:57:39 +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/components/widget/DeWidget/DeSelectGrid.vue | 6 ++++-- 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 ++++-- 5 files changed, 20 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue index daacf5ba8b..c50648ee74 100644 --- a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue +++ b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue @@ -228,10 +228,12 @@ export default { padding:0 8px; } .father .child { - display: none; + /*display: none;*/ + visibility: hidden; } .father:hover .child { - display: inline; + /*display: inline;*/ + visibility: visible; } .de-filter-tree { >>>span.is-leaf { diff --git a/frontend/src/views/chart/group/Group.vue b/frontend/src/views/chart/group/Group.vue index 7f0588f3b0..ddaf643d25 100644 --- a/frontend/src/views/chart/group/Group.vue +++ b/frontend/src/views/chart/group/Group.vue @@ -1048,10 +1048,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 87cade4952..2163d42f21 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;