test
parent
7e95df8b6e
commit
23dacfcf99
|
@ -3,7 +3,8 @@
|
|||
<template v-for="item in routes">
|
||||
<router-link v-if="!item.hidden&&item.noDropdown&&item.children.length>0" :to="item.path+'/'+item.children[0].path">
|
||||
<el-menu-item :index="item.path+'/'+item.children[0].path">
|
||||
|
||||
<!--<icon-svg v-if='item.icon' :icon-class="item.icon"></icon-svg> -->
|
||||
{{item.children[0].name}}
|
||||
</el-menu-item>
|
||||
</router-link>
|
||||
<el-submenu :index="item.name" v-if="!item.noDropdown&&!item.hidden">
|
||||
|
|
Loading…
Reference in New Issue