From ce4608ad4b46cb386ad4907d52ea11fdfcd9a4b0 Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Wed, 30 Aug 2023 20:05:59 +0800 Subject: [PATCH] fix: path (#314) --- 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}`; }