提交 13576f0d authored 作者: junjie's avatar junjie

refactor: tree菜单位置飘移优化

上级 85059c5c
...@@ -228,10 +228,12 @@ export default { ...@@ -228,10 +228,12 @@ export default {
padding:0 8px; padding:0 8px;
} }
.father .child { .father .child {
display: none; /*display: none;*/
visibility: hidden;
} }
.father:hover .child { .father:hover .child {
display: inline; /*display: inline;*/
visibility: visible;
} }
.de-filter-tree { .de-filter-tree {
>>>span.is-leaf { >>>span.is-leaf {
......
...@@ -1048,10 +1048,12 @@ export default { ...@@ -1048,10 +1048,12 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.father .child { .father .child {
display: none; /*display: none;*/
visibility: hidden;
} }
.father:hover .child { .father:hover .child {
display: inline; /*display: inline;*/
visibility: visible;
} }
.tree-style { .tree-style {
padding: 10px 15px; padding: 10px 15px;
......
...@@ -989,10 +989,12 @@ export default { ...@@ -989,10 +989,12 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.father .child { .father .child {
display: none; /*display: none;*/
visibility: hidden;
} }
.father:hover .child { .father:hover .child {
display: inline; /*display: inline;*/
visibility: visible;
} }
.dialog-css >>> .el-dialog__body { .dialog-css >>> .el-dialog__body {
......
...@@ -647,10 +647,12 @@ export default { ...@@ -647,10 +647,12 @@ export default {
} }
.father .child { .father .child {
display: none; /*display: none;*/
visibility: hidden;
} }
.father:hover .child { .father:hover .child {
display: inline; /*display: inline;*/
visibility: visible;
} }
</style> </style>
...@@ -298,10 +298,12 @@ export default { ...@@ -298,10 +298,12 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.father .child { .father .child {
display: none; /*display: none;*/
visibility: hidden;
} }
.father:hover .child { .father:hover .child {
display: inline; /*display: inline;*/
visibility: visible;
} }
.tree-style { .tree-style {
padding: 10px 15px; padding: 10px 15px;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论