diff --git a/frontend/src/pages/Deploy/Application/List/index.tsx b/frontend/src/pages/Deploy/Application/List/index.tsx index b0c8cc8f..1f8cc30c 100644 --- a/frontend/src/pages/Deploy/Application/List/index.tsx +++ b/frontend/src/pages/Deploy/Application/List/index.tsx @@ -134,16 +134,18 @@ const ApplicationList: React.FC = () => { { key: 'category', title: '应用分类', - width: '120px', + width: '100px', + className: 'whitespace-nowrap', render: (_, record) => record.applicationCategory?.name || '-', }, - { key: 'appCode', title: '应用编码', dataIndex: 'appCode', width: '200px' }, - { key: 'appName', title: '应用名称', dataIndex: 'appName', width: '130px' }, - { key: 'appDesc', title: '应用描述', dataIndex: 'appDesc', width: '180px' }, + { 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: 'teamCount', title: '团队使用数量', - width: '120px', + width: '100px', + className: 'whitespace-nowrap', render: (_, record) => (
{record.teamCount || 0} @@ -153,11 +155,12 @@ const ApplicationList: React.FC = () => { { key: 'language', title: '开发语言', - width: '120px', + width: '100px', + className: 'whitespace-nowrap', render: (_, record) => { const langInfo = getLanguageInfo(record.language); return ( - + {langInfo.icon} {langInfo.label} @@ -167,21 +170,23 @@ const ApplicationList: React.FC = () => { { key: 'enabled', title: '状态', - width: '100px', + width: '70px', + className: 'whitespace-nowrap', render: (_, record) => ( - + {record.enabled ? '启用' : '禁用'} ), }, - { key: 'sort', title: '排序', dataIndex: 'sort', width: '80px' }, + { key: 'sort', title: '排序', dataIndex: 'sort', width: '60px', className: 'whitespace-nowrap' }, { key: 'actions', title: '操作', - width: '180px', + width: '140px', sticky: true, + className: 'whitespace-nowrap', render: (_, record) => ( -
+