fix header routing
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export { default as NodeViewTitle } from './NodeViewTitle'
|
||||
export { default as NodeViewFigure } from './NodeViewFigure'
|
||||
export { default as NodeViewChildList } from './NodeViewChildList'
|
||||
export { default as NodeViewChildListGroup } from './NodeViewChildListGroup'
|
||||
export { default as NodeViewTitle } from './NodeViewTitle'
|
||||
export { default as NodeViewHeaderRef } from './NodeViewHeaderRef'
|
||||
export { default as NodeViewHeaderProd } from './NodeViewHeaderProd'
|
||||
export { default as NodeViewBody } from './NodeViewBody'
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<nav class="nav-list d-none d-tb-block">
|
||||
<ul>
|
||||
<li v-for="link in mainRoutes" :key="link.to">
|
||||
<b-button :to="link.to" :active="$route.name === link.to" :variant="link.variant">
|
||||
<b-button :to="{ name: link.to }" :active="$route.name === link.to" :variant="link.variant">
|
||||
{{ $t('sections.' + link.to) }}
|
||||
</b-button>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user