<el-tree
ref="treeBox"
:data="data"
show-checkbox
node-key="id"
:default-expanded-keys="[2, 3]"
:default-checked-keys="[heightKey]"
:props="defaultProps">
</el-tree>
<script>
export default {
data(
elementUI 树形控件设置默认高亮
最新推荐文章于 2024-05-27 11:11:45 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)