From e8714865c0772a1d8094c651c410737373db5faa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Mon, 9 Jan 2023 13:22:08 +0300 Subject: [PATCH] Fixed #3393 - TabMenu: index of menu item must be accessible in slot --- components/tabmenu/TabMenu.vue | 4 ++-- pages/tabmenu/TabMenuDoc.vue | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/components/tabmenu/TabMenu.vue b/components/tabmenu/TabMenu.vue index aefdd27ff..81a88ebaa 100755 --- a/components/tabmenu/TabMenu.vue +++ b/components/tabmenu/TabMenu.vue @@ -21,7 +21,7 @@ {{ label(item) }} - +
  • @@ -31,7 +31,7 @@ {{ label(item) }} - +
  • diff --git a/pages/tabmenu/TabMenuDoc.vue b/pages/tabmenu/TabMenuDoc.vue index b4da0cd6c..ecebad153 100755 --- a/pages/tabmenu/TabMenuDoc.vue +++ b/pages/tabmenu/TabMenuDoc.vue @@ -159,7 +159,10 @@ export default { item - item: Menuitem instance + + item: Menuitem instance
    + index: Index of the menuitem instance +