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 } }); },