elementui tree添加横向滚动条不生效问题
.project_tree { padding-left: 20px; height: calc(100vh - 303px); overflow: auto; } .tree{ overflow-y: hidden; overflow-x: scroll; width:80px; height: 500px; } .el-tree { min-width: 100%; display:inline-block !important; }