diff --git a/ui/src/pages/Cluster/Detail/index.tsx b/ui/src/pages/Cluster/Detail/index.tsx index 5414146f4..9f406b9d2 100644 --- a/ui/src/pages/Cluster/Detail/index.tsx +++ b/ui/src/pages/Cluster/Detail/index.tsx @@ -91,7 +91,7 @@ const ClusterDetail: React.FC = () => { defaultMessage: '连接集群', }), key: 'connection', - link: `/cluster/${clusterId}/connection`, + link: `/cluster/${ns}/${name}/${clusterName}/connection`, }, ]; diff --git a/ui/src/pages/Tenant/Detail/index.tsx b/ui/src/pages/Tenant/Detail/index.tsx index a66dc0989..801c6c9e9 100644 --- a/ui/src/pages/Tenant/Detail/index.tsx +++ b/ui/src/pages/Tenant/Detail/index.tsx @@ -89,7 +89,7 @@ const TenantDetail: React.FC = () => { defaultMessage: '连接租户', }), key: 'connection', - link: `/tenant/${tenantId}/connection`, + link: `/tenant/${ns}/${name}/${tenantName}/connection`, }, ];