antd table 加上 [nzScroll]="{y: tableScroll ? tableHeight + ‘px’ : null,x:‘1040px’}"之后 ,出现空白行

解决方法:
::ng-deep.ant-table-measure-now{
visibility: collapse !important;
}
本文介绍如何通过在Ant Design Table中应用nzScroll属性并修复了出现的空白行问题,通过在::ng-deep下设置ant-table-measure-now的visibility为collapse解决了视觉bug。
antd table 加上 [nzScroll]="{y: tableScroll ? tableHeight + ‘px’ : null,x:‘1040px’}"之后 ,出现空白行

解决方法:
::ng-deep.ant-table-measure-now{
visibility: collapse !important;
}

被折叠的 条评论
为什么被折叠?