el-tree滚动条不显示
<el-tree
:style="{height: (tableHeight+50)+ 'px',overflow:'scroll'}"
/>
data() {
return {
tableHeight: document.body.clientHeight - 210, // 表格高度
}
}
<style scoped>
.el-tree>.el-tree-node {
min-width: 100%;
display: inline-block;
}
</style>