style: card style

This commit is contained in:
jialin
2026-04-22 13:16:48 +08:00
committed by jialin
parent daa3d74500
commit c92f56ec8f
19 changed files with 532 additions and 222 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ interface ColumnsHookProps {
const useModelsColumns = (): Array<{
title: string;
dataIndex: string;
dataIndex: string | string[];
key: string;
}> => {
const intl = useIntl();
@@ -21,7 +21,7 @@ const useModelsColumns = (): Array<{
return [
{
title: intl.formatMessage({ id: 'common.table.name' }),
dataIndex: 'model_name',
dataIndex: ['model', 'identity', 'value', 'model_name'],
key: 'model_name',
sorter: tableSorter(1),
render: (text: string, record: ListItem) => (
@@ -34,7 +34,7 @@ const useModelsColumns = (): Array<{
},
{
title: 'Cluster',
dataIndex: 'cluster_name',
dataIndex: ['model', 'identity', 'value', 'cluster_name'],
key: 'cluster_name',
sorter: tableSorter(2),
render: (text: string, record: ListItem) => (