1、问题复现
2、希望结果
::v-deep .ant-table-fixed-header .ant-table-scroll .ant-table-header {
box-sizing: border-box !important;
overflow: hidden !important;
margin-bottom: 0 !important;
margin-right: 0 !important;
}
// 修改表格滚动条样式
.ant-table-body {
&::-webkit-scrollbar {
height: 5px;
}
&::-webkit-scrollbar-thumb {
border-radius: 5px;
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
background: rgba(129, 129, 128, 0.85);
}
&::-webkit-scrollbar-track {
-webkit-box-shadow: none;
border-radius: 0;
background: rgba(0, 4, 40, 0.06);
}
}