From e64c75f257026cb5869b01275675dc289112aae3 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Thu, 24 Mar 2022 11:11:43 +0800 Subject: [PATCH] fix map --- src/views/Layer.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/Layer.vue b/src/views/Layer.vue index 5e7954c0..71dbb62f 100644 --- a/src/views/Layer.vue +++ b/src/views/Layer.vue @@ -35,7 +35,7 @@ const dashboardStore = useDashboardStore(); const routesMap: { [key: string]: string } = { GeneralServices: "GENERAL", Database: "VIRTUAL_DATABASE", - MESH: "MESH", + MeshServices: "MESH", ControlPanel: "MESH_CP", DataPanel: "MESH_DP", Linux: "OS_LINUX", @@ -52,6 +52,7 @@ getDashboard(); async function getDashboard() { layer.value = routesMap[String(route.name)]; + console.log(layer.value); dashboardStore.setLayer(layer.value); dashboardStore.setEntity(EntityType[1].value); dashboardStore.setMode(false);