From b002237210984e551e5ea8af0578555cb4f380e6 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Mon, 21 Mar 2022 21:25:21 +0800 Subject: [PATCH] fix link dashboards --- src/views/dashboard/related/topology/components/Settings.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/dashboard/related/topology/components/Settings.vue b/src/views/dashboard/related/topology/components/Settings.vue index 3d5e6585..5e08b82f 100644 --- a/src/views/dashboard/related/topology/components/Settings.vue +++ b/src/views/dashboard/related/topology/components/Settings.vue @@ -297,9 +297,11 @@ async function setLegend() { } function changeNodeDashboard(opt: any) { states.nodeDashboard = opt[0].value; + updateSettings(); } function changeLinkDashboard(opt: any) { states.linkDashboard = opt[0].value; + updateSettings(); } function changeLegend(type: string, opt: any, index: number) { (legend.metric[index] as any)[type] = opt[0].value || opt;