diff --git a/src/pages/componentDevelopment/componentEnv/index.tsx b/src/pages/componentDevelopment/componentEnv/index.tsx index 5fde62e..430c6b5 100644 --- a/src/pages/componentDevelopment/componentEnv/index.tsx +++ b/src/pages/componentDevelopment/componentEnv/index.tsx @@ -11,7 +11,8 @@ import { Message, Modal, Notification, - Tag + Tag, + Tooltip } from '@arco-design/web-react'; import { getComponentClassify } from '@/api/componentClassify'; import { IconSearch } from '@arco-design/web-react/icon'; @@ -59,10 +60,6 @@ const ComponentEnv = () => { title: '环境别名', dataIndex: 'name' }, - { - title: '备注', - dataIndex: 'description' - }, { title: '实例数量', dataIndex: 'instanceCount' @@ -113,10 +110,31 @@ const ComponentEnv = () => { ) }, + { + title: '备注', + dataIndex: 'description', + width: 200, + ellipsis: true, + render: (text) => ( + text ? ( + + + {text} + + + ) : '-' + ) + }, { title: '操作', - width: 230, + width: 450, align: 'center', + fixed: 'right', render: (_, record: any) => ( {record.isEnable === 'RUNNING' && ( @@ -416,7 +434,7 @@ const ComponentEnv = () => { - +