Browse Source

perf[Menu]: remove unused menu-wrapper

花裤衩 5 years ago
parent
commit
bc94111867
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/layout/components/Sidebar/SidebarItem.vue

+ 1 - 1
src/layout/components/Sidebar/SidebarItem.vue

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <div v-if="!item.hidden" class="menu-wrapper">
2
+  <div v-if="!item.hidden">
3 3
     <template v-if="hasOneShowingChild(item.children,item) && (!onlyOneChild.children||onlyOneChild.noShowingChildren)&&!item.alwaysShow">
4 4
       <app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
5 5
         <el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">