perf[Menu]: remove unused menu-wrapper (#2903)

This commit is contained in:
Kaitian Xie 2020-01-06 06:34:14 -08:00 committed by 花裤衩
parent 1d707e4ab6
commit be18a69fa4
1 changed files with 1 additions and 1 deletions

View File

@ -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}">