树结构选中css

This commit is contained in:
liuye
2022-10-27 09:53:15 +08:00
parent 19b2ec07d9
commit 856b27fd33
5 changed files with 16 additions and 4 deletions

View File

@@ -320,5 +320,10 @@ export default {
}
}
}
::v-deep .el-tree .is-current>.el-tree-node__content {
background-color: #26f;
color: #fff;
}
}
</style>

View File

@@ -653,5 +653,8 @@ export default {
background-color: none!important;
padding: 0!important;
}
::v-deep .el-tree .is-current>.el-tree-node__content {
min-width: 100%!important;
}
}
</style>