From bc87567f14c3e39003c60463616405264e97615a Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Wed, 16 Feb 2022 15:37:48 +0800 Subject: [PATCH] feat: set tools for sankey topology --- src/views/dashboard/panel/Tool.vue | 10 +- .../topology/components/PodTopology.vue | 124 ++++++++++++------ 2 files changed, 91 insertions(+), 43 deletions(-) diff --git a/src/views/dashboard/panel/Tool.vue b/src/views/dashboard/panel/Tool.vue index d1dbb4b8..7f80129b 100644 --- a/src/views/dashboard/panel/Tool.vue +++ b/src/views/dashboard/panel/Tool.vue @@ -55,7 +55,13 @@ limitations under the License. --> />
- $DestinationServiceInstance + + {{ + dashboardStore.entity === "EndpointRelation" + ? "$DestinationEndpoint" + : "$DestinationServiceInstance" + }} + + +
@@ -46,9 +53,16 @@ limitations under the License. --> left: operationsPos.x + 'px', }" > - - {{ item.title }} - + + + {{ item.title }} + +