Commit a75667ab authored by baiyaaaaa's avatar baiyaaaaa Committed by 杨奕

support composite menu-item

parent 3c942d8e
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
tabindex="-1" tabindex="-1"
> >
<el-tooltip <el-tooltip
v-if="$parent === rootMenu && rootMenu.collapse" v-if="parentMenu.$options.componentName === 'ElMenu' && rootMenu.collapse"
effect="dark" effect="dark"
placement="right"> placement="right">
<div slot="content"><slot name="title"></slot></div> <div slot="content"><slot name="title"></slot></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment