File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
<div v-if =" !item.hidden" class =" menu-wrapper" >
3
3
4
4
<template v-if =" hasOneShowingChild (item .children ,item ) && (! onlyOneChild .children || onlyOneChild .noShowingChildren )&&! item .alwaysShow " >
5
- <app-link :to =" resolvePath(onlyOneChild.path)" >
5
+ <app-link v-if = " onlyOneChild.meta " :to =" resolvePath(onlyOneChild.path)" >
6
6
<el-menu-item :index =" resolvePath(onlyOneChild.path)" :class =" {'submenu-title-noDropdown':!isNest}" >
7
- <item v-if = " onlyOneChild.meta " :icon =" onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title =" generateTitle(onlyOneChild.meta.title)" />
7
+ <item :icon =" onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title =" generateTitle(onlyOneChild.meta.title)" />
8
8
</el-menu-item >
9
9
</app-link >
10
10
</template >
You can’t perform that action at this time.
0 commit comments