当表格左侧或右侧列使用fixed 时,加y轴滚动会出现与普通行不对齐。
.ant-table-body-outer{
margin-top:5px !important; // 根据实际调整matgin-top 大小
}
如果使用全局样式,会使其它使用fixed,但没有使用Y轴滚动的列出现偏移。建议在局部样式使用
当表格左侧或右侧列使用fixed 时,加y轴滚动会出现与普通行不对齐。
.ant-table-body-outer{
margin-top:5px !important; // 根据实际调整matgin-top 大小
}
如果使用全局样式,会使其它使用fixed,但没有使用Y轴滚动的列出现偏移。建议在局部样式使用