diff --git a/components/lib/menubar/Menubar.d.ts b/components/lib/menubar/Menubar.d.ts index 061c4f7dd..8e954a895 100755 --- a/components/lib/menubar/Menubar.d.ts +++ b/components/lib/menubar/Menubar.d.ts @@ -245,6 +245,10 @@ export interface MenubarSlots { * State of the root */ root: boolean; + /** + * Whether or not there is a submenu + */ + hasSubmenu: boolean; }): VNode[]; /** * Custom popup icon template on responsive mode. diff --git a/components/lib/menubar/MenubarSub.vue b/components/lib/menubar/MenubarSub.vue index 292e1738b..692d8850c 100755 --- a/components/lib/menubar/MenubarSub.vue +++ b/components/lib/menubar/MenubarSub.vue @@ -38,7 +38,7 @@ - +