diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index ef6ce062..4b8a0581 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -348,6 +348,7 @@ function defaultOpen(index: number) { clickable v-ripple :to="menuItem.path" + @click="link = menuItem.label" :active=" $route.path === menuItem.path || ($route.path !== '/' && menuItem.path?.includes($route.path))