From 70a625887000b02de6d870dd36de2ba3346da969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=B4=E6=99=96?= <2689991790@qq.com> Date: Sun, 28 Apr 2024 11:29:03 +0800 Subject: [PATCH] fix:The selected cluster exception display zone --- ui/src/services/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/services/index.ts b/ui/src/services/index.ts index 923e53744..0ba8f9b3c 100644 --- a/ui/src/services/index.ts +++ b/ui/src/services/index.ts @@ -157,8 +157,8 @@ export async function getSimpleClusterList(): Promise ({ - clusterId: clusterDetail.clusterId, + data:r.data.map((clusterDetail,index) => ({ + clusterId: clusterDetail.clusterId + index, name: clusterDetail.name, namespace: clusterDetail.namespace, topology: clusterDetail.topology,