From b3b6cb7f1923789185e09565523623e59dab67a7 Mon Sep 17 00:00:00 2001 From: dengqichen Date: Fri, 28 Nov 2025 15:33:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84=E6=B6=88=E6=81=AF=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/Deploy/Application/List/index.tsx | 29 +++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) 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) => ( -
+