el-table隐藏滚动条

el-table 隐藏滚动条

::v-deep .el-table__body-wrapper {
    scrollbar-width: none; /* firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
::-webkit-scrollbar {
    display: none; /* Chrome Safari */
}
::v-deep .el-table th.gutter{
    display: none;
    width:0
}
::v-deep .el-table colgroup col[name='gutter']{
    display: none;
    width: 0;
}
::v-deep .el-table__body{
    width: 100% !important;
}

你可能感兴趣的:(前端,el-table,el-table隐藏滚动条)