Use a tag instead
parent
fa0a2f267a
commit
ed82bfd238
|
@ -13,14 +13,14 @@
|
|||
<i :class="menuitem.icon"></i>
|
||||
</span>
|
||||
<span>{{ menuitem.name }}</span>
|
||||
<Badge v-if="menuitem.badge" :value="menuitem.badge" class="ml-auto"></Badge>
|
||||
<Tag v-if="menuitem.badge" :value="menuitem.badge" class="ml-auto"></Tag>
|
||||
</a>
|
||||
<PrimeVueNuxtLink v-if="menuitem.to" :to="menuitem.to" :class="{ 'router-link-active': menuitem.to === $route.fullPath }">
|
||||
<span v-if="menuitem.icon && root" class="menu-icon">
|
||||
<i :class="menuitem.icon"></i>
|
||||
</span>
|
||||
<span>{{ menuitem.name }}</span>
|
||||
<Badge v-if="menuitem.badge" :value="menuitem.badge" class="ml-auto"></Badge>
|
||||
<Tag v-if="menuitem.badge" :value="menuitem.badge" class="ml-auto"></Tag>
|
||||
</PrimeVueNuxtLink>
|
||||
|
||||
<span v-if="!root && menuitem.children" class="menu-child-category">{{ menuitem.name }}</span>
|
||||
|
|
Loading…
Reference in New Issue