<Table
{...tableProps}
scroll={{ x: 1600, y: 420 }}
columns={columns}
dataSource={tableData}
pagination={pagination}
expandedRowRender={expandedRowRender}
rowKey="id"
rowClassName={record => (record?.admin_batch_contracts.length > 0 ? '' : style.noExpend)}
/>
.noExpend {
.ant-table-row-expand-icon {
display: none !important;
}
}
:global {
.antd-pro-pages-contract-list-index-noExpend {
.ant-table-row-expand-icon {
display: none !important;
}
}
}