el-tree选中背景变色
1、加 属性 highlight-current
<el-tree :props="treeProps" :load="loadNode" highlight-current @node-click="clickNode" lazy></el-tree>
2、加样式
<style >
.el-tree-node.is-current > .el-tree-node__content {
background-color: rgb(64, 158, 255) !important;
}
</style>