<div class="wrapper">
<el-scrollbar style="height:100%">
<el-tree ...>
</el-tree>
</el-scrollbar>
</div>
.wrapper{
width: 自定义;
height: 自定义;
}
.el-tree {
min-width: 100%;
display: inline-block !important;
}
.el-scrollbar .el-scrollbar__wrap {
overflow-x: hidden;
}