diff --git a/src/pages/orchestration/event/index.tsx b/src/pages/orchestration/event/index.tsx index 8cd9ee9..68a50be 100644 --- a/src/pages/orchestration/event/index.tsx +++ b/src/pages/orchestration/event/index.tsx @@ -152,8 +152,39 @@ const EventContainer = () => { }, { title: '事件描述', - dataIndex: 'description', - width: '80%' + dataIndex: 'description' + }, + { + title: '订阅者', + dataIndex: 'subscribers', + render: (_, record) => { + if (record?.subscribers && record?.subscribers.length > 0) { + return (
+ {record?.subscribers.map((item, index) => ( +
{item.appName}
+ ))} +
); + } + else { + return
-
; + } + } + }, + { + title: '发布者', + dataIndex: 'publisher', + render: (_, record) => { + if (record?.publisher && record?.publisher.length > 0) { + return (
+ {record?.publisher.map((item, index) => ( +
{item.appName}
+ ))} +
); + } + else { + return
-
; + } + } }, { title: '操作',