el-scrollbar滚动条x轴不显示问题

css中加入
/deep/ .el-scrollbar__view{display:inline-block !important;}
/deep/ .el-scrollbar__wrap{overflow-x: hidden !important;}

el-scrollbar滚动条x轴不显示问题

//html
el-scrollbar.left
  el-tree(
    :data="treeData" 
    node-key="id"
    ref="treeRef"
    default-expand-all
    @node-click="handleNodeClick"
  )
//css
.left {
  border-right: 1px solid #EBEEF5;height: calc(100vh - 66px);
  width: 330px; margin-left: 10px;
  /deep/ .el-scrollbar__view{display:inline-block !important;}
  /deep/ .el-scrollbar__wrap{overflow-x: hidden !important;}
}
上一篇:选中input是点击历史记录填充值时背景改变的问题


下一篇:android Touch事件流程,kotlin高阶函数和lambda示例