menu updated

pull/1375/head
Tuğçe Küçükoğlu 2021-07-12 10:52:22 +03:00
parent 9a43ebdb02
commit ec4df6bf41
1 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,10 @@
</div> </div>
<div class="layout-menu"> <div class="layout-menu">
<template v-for="item of menu" :key="item.name"> <template v-for="item of menu" :key="item.name">
<div class="menu-category">{{item.name}}</div> <div class="menu-category">
{{item.name}}
<Tag v-if="item.badge" :value="item.badge"></Tag>
</div>
<div class="menu-items"> <div class="menu-items">
<template v-for="child of item.children" :key="child.name"> <template v-for="child of item.children" :key="child.name">
<a v-if="child.href" :href="child.href" target="_blank">{{child.name}}</a> <a v-if="child.href" :href="child.href" target="_blank">{{child.name}}</a>