From 480f10eaf740e46086a4858260b30ce64312d39d 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, 24 Jul 2023 14:12:43 +0300 Subject: [PATCH] Refactor #4196 - For TabMenu --- components/lib/tabmenu/TabMenu.d.ts | 4 ++-- components/lib/tabmenu/TabMenu.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/lib/tabmenu/TabMenu.d.ts b/components/lib/tabmenu/TabMenu.d.ts index 4a521b7d0..76259c790 100755 --- a/components/lib/tabmenu/TabMenu.d.ts +++ b/components/lib/tabmenu/TabMenu.d.ts @@ -87,9 +87,9 @@ export interface TabMenuState { */ export interface TabMenuContext { /** - * Order of the menuitem + * Index of the menuitem */ - order: number; + index: number; } /** diff --git a/components/lib/tabmenu/TabMenu.vue b/components/lib/tabmenu/TabMenu.vue index 65faea51b..b3bb13d26 100755 --- a/components/lib/tabmenu/TabMenu.vue +++ b/components/lib/tabmenu/TabMenu.vue @@ -101,7 +101,7 @@ export default { getPTOptions(key, index) { return this.ptm(key, { context: { - order: index + index } }); },