|
@@ -2,7 +2,7 @@
|
|
|
<div class="menu-wrapper">
|
|
|
<template v-for="item in routes" v-if="!item.hidden&&item.children">
|
|
|
|
|
|
- <router-link v-if="hasOneShowingChildren(item.children) && !item.children[0].children&&!item.alwaysShow" :to="item.path+'/'+item.children[0].path"
|
|
|
+ <router-link v-if="hasOneShowingChildren(item.children) && !item.children[0].children&&!item.alwaysShow&&item.children[0].path=='home'" :to="item.path+'/'+item.children[0].path"
|
|
|
:key="item.children[0].name">
|
|
|
<el-menu-item :index="item.path+'/'+item.children[0].path" :class="{'submenu-title-noDropdown':!isNest}">
|
|
|
<svg-icon v-if="item.children[0].meta&&item.children[0].meta.icon" :icon-class="item.children[0].meta.icon"></svg-icon>
|