From e1b3613c520b89564d20820acb3c7bf80ba72587 Mon Sep 17 00:00:00 2001 From: Fine Date: Wed, 30 Aug 2023 19:51:34 +0800 Subject: [PATCH] fix: path --- src/layout/components/NavBar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/components/NavBar.vue b/src/layout/components/NavBar.vue index c2b188dd..7f000cb1 100644 --- a/src/layout/components/NavBar.vue +++ b/src/layout/components/NavBar.vue @@ -203,7 +203,7 @@ limitations under the License. --> (d: DashboardItem) => MetricCatalog.SERVICE_RELATION === d.entity && dashboard.layer === d.layer, ); const list = serviceRelationDashboards.map((d: { path: string } & DashboardItem, index: number) => { - let path = `/dashboard/related/${d.layer}/${d.entity}/${serviceId}/${destServiceId}/${d.name}`; + let path = `/dashboard/${d.layer}/${d.entity}/${d.name}`; if (destServiceId) { path = `/dashboard/related/${d.layer}/${d.entity}/${serviceId}/${destServiceId}/${d.name}`; }