|
|
|
@ -22,7 +22,11 @@
|
|
|
|
|
{{ secondRoute.meta.title }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-menu-item>
|
|
|
|
|
<el-submenu v-else :index="item.fullPath" :key="secondRoute.fullPath">
|
|
|
|
|
<el-submenu
|
|
|
|
|
v-else
|
|
|
|
|
:index="secondRoute.fullPath"
|
|
|
|
|
:key="secondRoute.fullPath"
|
|
|
|
|
>
|
|
|
|
|
<template slot="title">
|
|
|
|
|
<svg-icon
|
|
|
|
|
v-if="
|
|
|
|
@ -34,7 +38,8 @@
|
|
|
|
|
/>
|
|
|
|
|
{{ secondRoute.meta.title }}
|
|
|
|
|
</template>
|
|
|
|
|
<el-menu-item
|
|
|
|
|
<menu-item :item="secondRoute"></menu-item>
|
|
|
|
|
<!-- <el-menu-item
|
|
|
|
|
v-for="(nextItem, nextIndex) in secondRoute.children"
|
|
|
|
|
:key="nextIndex"
|
|
|
|
|
:index="nextItem.fullPath"
|
|
|
|
@ -46,7 +51,7 @@
|
|
|
|
|
:icon-class="nextItem.meta.icon"
|
|
|
|
|
/>
|
|
|
|
|
{{ nextItem.meta.title }}
|
|
|
|
|
</el-menu-item>
|
|
|
|
|
</el-menu-item> -->
|
|
|
|
|
</el-submenu>
|
|
|
|
|
</template>
|
|
|
|
|
</el-menu>
|
|
|
|
|