diff --git a/frontend/src/components/ui/table.tsx b/frontend/src/components/ui/table.tsx index db5fb740..5c5ab0ee 100644 --- a/frontend/src/components/ui/table.tsx +++ b/frontend/src/components/ui/table.tsx @@ -91,7 +91,7 @@ const TableHead = React.forwardRef< { // 列定义 const columns: ColumnDef[] = useMemo(() => [ + { key: 'id', title: 'ID', dataIndex: 'id', width: '80px' }, { key: 'category', title: '应用分类', @@ -140,7 +141,17 @@ const ApplicationList: React.FC = () => { }, { key: 'appCode', title: '应用编码', dataIndex: 'appCode', width: '220px', className: 'whitespace-nowrap' }, { key: 'appName', title: '应用名称', dataIndex: 'appName', width: '180px', className: 'whitespace-nowrap' }, - { key: 'appDesc', title: '应用描述', dataIndex: 'appDesc', width: '200px', className: 'whitespace-nowrap' }, + { + key: 'appDesc', + title: '应用描述', + width: '200px', + className: 'whitespace-nowrap overflow-hidden text-ellipsis max-w-[200px]', + render: (_, record) => ( +
+ {record.appDesc || '-'} +
+ ), + }, { key: 'teamCount', title: '团队使用数量',