<style lang="scss" scoped>
::v-deep .el-table__body-wrapper::-webkit-scrollbar { /*width: 0;宽度为0隐藏*/
width: 0px;
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb {
border-radius: 2px;
height: 50px;
background: #eee;
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
border-radius: 2px;
background: rgba(0, 0, 0, 0.4);
}
</style>
elementUI 表格组件设置高度之后去除滚动条
最新推荐文章于 2024-05-28 20:52:48 发布