diff --git a/components/lib/tabmenu/TabMenu.d.ts b/components/lib/tabmenu/TabMenu.d.ts index 63ab664c4..02592b372 100755 --- a/components/lib/tabmenu/TabMenu.d.ts +++ b/components/lib/tabmenu/TabMenu.d.ts @@ -162,6 +162,14 @@ export interface TabMenuSlots { * Menuitem instance */ item: MenuItem; + /** + * Label property of the menuitem + */ + label: string | ((...args: any) => string) | undefined; + /** + * Binding properties of the menuitem + */ + props: (...args: any) => string; }): VNode[]; /** * Custom item icon template. diff --git a/components/lib/tabmenu/TabMenu.vue b/components/lib/tabmenu/TabMenu.vue index 7709e4db4..ec4f9240e 100755 --- a/components/lib/tabmenu/TabMenu.vue +++ b/components/lib/tabmenu/TabMenu.vue @@ -53,7 +53,7 @@ {{ label(item) }} - +
  • @@ -64,6 +64,7 @@