DocSectionNav updated
parent
7ca665aa93
commit
8da854c2f4
|
@ -3,7 +3,7 @@
|
||||||
<li v-for="doc of docs" :key="doc.label" :class="['navbar-item', { 'active-navbar-item': activeId === doc.id }]">
|
<li v-for="doc of docs" :key="doc.label" :class="['navbar-item', { 'active-navbar-item': activeId === doc.id }]">
|
||||||
<div class="navbar-item-content">
|
<div class="navbar-item-content">
|
||||||
<NuxtLink :to="`${checkRouteName}/#${doc.id}`">
|
<NuxtLink :to="`${checkRouteName}/#${doc.id}`">
|
||||||
<button class="p-link">{{ doc.label }}</button>
|
<button class="p-link" @click="onButtonClick(doc)">{{ doc.label }}</button>
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue