1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-06 03:57:53 +08:00

Merge 7ac613c9444f0072769e4f98d3f93517f5715238 into 925dbeb045bcadbaad1660d3190538c071e0a758

This commit is contained in:
Liu ding 2017-11-14 07:18:55 +00:00 committed by GitHub
commit 92e3d370f2

View File

@ -14,7 +14,7 @@
</template> </template>
<template v-for="child in item.children" v-if='!child.hidden'> <template v-for="child in item.children" v-if='!child.hidden'>
<sidebar-item class='nest-menu' v-if='child.children&&child.children.length>0' :routes='[child]'> </sidebar-item> <sidebar-item class='nest-menu' v-if='child.children&&child.children.length>0&&!child.noDropdown' :routes='[child]'> </sidebar-item>
<router-link v-else :to="item.path+'/'+child.path"> <router-link v-else :to="item.path+'/'+child.path">
<el-menu-item :index="item.path+'/'+child.path"> <el-menu-item :index="item.path+'/'+child.path">