fix(provider): table sorting does not work

This commit is contained in:
jialin
2026-07-01 11:42:30 +08:00
committed by jialin
parent 185e3475e7
commit 8a15172316
6 changed files with 8 additions and 9 deletions
@@ -58,7 +58,7 @@ const useProviderColumns = (
{
title: intl.formatMessage({ id: 'providers.table.providerName' }),
dataIndex: ['config', 'type'],
sorter: tableSorter(2),
sorter: false,
span: 4,
minWidth: 160,
render: (value: string) => (
+1
View File
@@ -170,6 +170,7 @@ const MaasProvider: React.FC = () => {
rowSelection={rowSelection}
columns={columns}
scroll={{ x: 900 }}
onChange={handleTableChange}
pagination={{
size: 'middle',
showSizeChanger: true,