support composite menu-item

pull/9372/head^2
baiyaaaaa 2018-01-18 15:59:27 +08:00 committed by 杨奕
parent 3c942d8e93
commit a75667ab78
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
tabindex="-1"
>
<el-tooltip
v-if="$parent === rootMenu && rootMenu.collapse"
v-if="parentMenu.$options.componentName === 'ElMenu' && rootMenu.collapse"
effect="dark"
placement="right">
<div slot="content"><slot name="title"></slot></div>