保留旧的连接 IP 地址

This commit is contained in:
dushixiang committed 2026-01-17 17:15:51 +08:00
1 parent 3a8caec66e
commit 6488c9155d
2 files changed
+11

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ func (h *AgentHandler) Paging(c echo.Context) error {
PageRequest(pr).
Contains("name", c.QueryParam("name")).
Contains("hostname", c.QueryParam("hostname")).
Contains("ip", c.QueryParam("ip")).
Contains("ipv4", c.QueryParam("ipv4")).
Contains("ipv6", c.QueryParam("ipv6"))
+10
View File
@@ -296,6 +296,16 @@ const AgentList = () => {
ellipsis: true,
width: 150,
},
{
title: '通信地址',
dataIndex: 'ip',
key: 'ip',
ellipsis: true,
width: 160,
render: (value) => (
<span className="font-mono text-xs">{value || '-'}</span>
),
},
{
title: 'IPv4',
dataIndex: 'ipv4',