From ed4b74c0a7d06a6d695aa9c068688bd89862cdbb Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 8 Nov 2023 15:49:46 +0300 Subject: [PATCH] Refactor #4739 - For TabMenu --- components/lib/tabmenu/BaseTabMenu.vue | 4 -- components/lib/tabmenu/TabMenu.d.ts | 1 + components/lib/tabmenu/TabMenu.vue | 54 ++------------------ components/lib/tabmenu/style/TabMenuStyle.js | 4 +- 4 files changed, 7 insertions(+), 56 deletions(-) diff --git a/components/lib/tabmenu/BaseTabMenu.vue b/components/lib/tabmenu/BaseTabMenu.vue index 59d06d1cf..d6858b7a0 100644 --- a/components/lib/tabmenu/BaseTabMenu.vue +++ b/components/lib/tabmenu/BaseTabMenu.vue @@ -10,10 +10,6 @@ export default { type: Array, default: null }, - exact: { - type: Boolean, - default: true - }, activeIndex: { type: Number, default: 0 diff --git a/components/lib/tabmenu/TabMenu.d.ts b/components/lib/tabmenu/TabMenu.d.ts index 5036d68cf..c97b4eeb4 100755 --- a/components/lib/tabmenu/TabMenu.d.ts +++ b/components/lib/tabmenu/TabMenu.d.ts @@ -156,6 +156,7 @@ export interface TabMenuProps { model?: MenuItem[] | undefined; /** * Defines if active route highlight should match the exact route path. + * @deprecated since v3.40.0. * @defaultValue true */ exact?: boolean | undefined; diff --git a/components/lib/tabmenu/TabMenu.vue b/components/lib/tabmenu/TabMenu.vue index f8af22697..419685a60 100755 --- a/components/lib/tabmenu/TabMenu.vue +++ b/components/lib/tabmenu/TabMenu.vue @@ -2,41 +2,8 @@