![](https://img-blog.csdnimg.cn/img_convert/cd6ab24c2c25e5c22da5ec3bba0eabdc.png)
![](https://img-blog.csdnimg.cn/img_convert/98ad24dedfe3435ced0d403d94b52b35.png)
修改滚动条样式方法, 整个滚动条 .el-table::-webkit-scrollbar{
width: 5px;
background: rgb(51, 47, 104);
}
滚动条滑块 .el-table::-webkit-scrollbar-thumb{
width: 5px;
background: rgb(179, 156, 156);
}
问题:出现一列白色块,怎么消除
![](https://img-blog.csdnimg.cn/img_convert/d056c71e12bf2b3183f4f5c5d7be9291.png)
隐藏这一列的方法
.el-table th.gutter {
display: none;
width: 0;
}
.el-table colgroup col[name='gutter']{
display: none;
width: 0;
}
.el-table__body{
width: 100% !important;
}