diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 95e36cb..79a869a 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -29,7 +29,7 @@ :key="menu.path" class="nav-menu" :class="{ 'current-route': $route.path.startsWith(menu.path) && menu.path !== '/' }" - @click.stop="menu.children || $router.push({ path: menu.hash ? '' : menu.path , hash: menu?.hash || ''})" + @click.stop="menu.children || menu.jump ? winOpen(menu.jump) : $router.push({ path: menu.hash ? '' : menu.path , hash: menu?.hash || ''})" > {{ menu.title }}