diff --git a/components/lib/contextmenu/ContextMenu.d.ts b/components/lib/contextmenu/ContextMenu.d.ts index 8e3131851..124628bd4 100755 --- a/components/lib/contextmenu/ContextMenu.d.ts +++ b/components/lib/contextmenu/ContextMenu.d.ts @@ -290,6 +290,10 @@ export interface ContextMenuSlots { * Label property of the menuitem */ label: string | ((...args: any) => string) | undefined; + /** + * Whether or not there is a submenu + */ + hasSubmenu: boolean; /** * Binding properties of the menuitem */ diff --git a/components/lib/contextmenu/ContextMenuSub.vue b/components/lib/contextmenu/ContextMenuSub.vue index 95b400104..587e224cd 100755 --- a/components/lib/contextmenu/ContextMenuSub.vue +++ b/components/lib/contextmenu/ContextMenuSub.vue @@ -39,7 +39,7 @@ - +