Merge pull request #513 from dataease/pr@v1.1@refactor_tree菜单飘移优化

refactor: tree菜单位置飘移优化
This commit is contained in:
XiaJunjie2020 2021-08-04 12:04:04 +08:00 committed by GitHub
commit 14c6963c52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 8 deletions

View File

@ -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;

View File

@ -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 {

View File

@ -647,10 +647,12 @@ export default {
}
.father .child {
display: none;
/*display: none;*/
visibility: hidden;
}
.father:hover .child {
display: inline;
/*display: inline;*/
visibility: visible;
}
</style>

View File

@ -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;