撤销选中路由修改

This commit is contained in:
fan 2019-10-09 15:21:09 +08:00
parent e27a189952
commit 44415d44b4

View File

@ -24,7 +24,7 @@
</template>
<template v-else-if="hasOneShowingChildren(item.children) &&!item.alwaysShow">
<template :to="item.path+'/'+item.children[0].path">
<el-menu-item :key="idx" :index="item.children[0].redirect ? item.children[0].redirect : (item.path+'/'+item.children[0].path)">
<el-menu-item :key="idx" :index="item.redirect ? item.redirect : (item.path+'/'+item.children[0].path)">
<span
v-if="item.children[0].meta&&item.children[0].meta.i18n"
slot="title"