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
+2 -2
View File
@@ -11,7 +11,7 @@ interface ColumnsHookProps {
const useModelsColumns = (): Array<{
title: string;
dataIndex: string;
dataIndex: string | string[];
key: string;
}> => {
const intl = useIntl();
@@ -20,7 +20,7 @@ const useModelsColumns = (): Array<{
return [
{
title: intl.formatMessage({ id: 'common.table.name' }),
dataIndex: 'user_name',
dataIndex: ['user', 'identity', 'value', 'user_name'],
key: 'user_name',
sorter: tableSorter(1),
render: (text: string, record: ListItem) => (