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 sunshine17 committed Feb 11, 2020
1 parent 7b92c40 commit 3cdddd7
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 3cdddd7

Please sign in to comment.