Skip to content

Commit

Permalink
perf[Menu]: remove unused menu-wrapper (PanJiaChen#2903)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaitian Xie authored and PanJiaChen committed Jan 6, 2020
1 parent a0b39d5 commit fd5a2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/components/Sidebar/SidebarItem.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div v-if="!item.hidden" class="menu-wrapper">
<div v-if="!item.hidden">
<template v-if="hasOneShowingChild(item.children,item) && (!onlyOneChild.children||onlyOneChild.noShowingChildren)&&!item.alwaysShow">
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
<el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
Expand Down

0 comments on commit fd5a2e8

Please sign in to comment.