diff --git a/components/lib/megamenu/BaseMegaMenu.vue b/components/lib/megamenu/BaseMegaMenu.vue index ee9220551..ac3df04ba 100644 --- a/components/lib/megamenu/BaseMegaMenu.vue +++ b/components/lib/megamenu/BaseMegaMenu.vue @@ -14,10 +14,6 @@ export default { type: String, default: 'horizontal' }, - exact: { - type: Boolean, - default: true - }, disabled: { type: Boolean, default: false diff --git a/components/lib/megamenu/MegaMenu.d.ts b/components/lib/megamenu/MegaMenu.d.ts index b9f1bba7c..37822bb64 100755 --- a/components/lib/megamenu/MegaMenu.d.ts +++ b/components/lib/megamenu/MegaMenu.d.ts @@ -237,6 +237,7 @@ export interface MegaMenuProps { orientation?: 'horizontal' | 'vertical' | undefined; /** * Whether to apply 'router-link-active-exact' class if route exactly matches the item path. + * @deprecated since v3.40.0. * @defaultValue true */ exact?: boolean | undefined; diff --git a/components/lib/megamenu/MegaMenu.vue b/components/lib/megamenu/MegaMenu.vue index cad276116..fc8ff77c1 100755 --- a/components/lib/megamenu/MegaMenu.vue +++ b/components/lib/megamenu/MegaMenu.vue @@ -19,7 +19,6 @@ :horizontal="horizontal" :templates="$slots" :activeItem="activeItem" - :exact="exact" :level="0" :pt="pt" :unstyled="unstyled" @@ -73,11 +72,6 @@ export default { } } }, - beforeMount() { - if (!this.$slots.item) { - console.warn('In future versions, vue-router support will be removed. Item templating should be used.'); - } - }, mounted() { this.id = this.id || UniqueComponentId(); }, diff --git a/components/lib/megamenu/MegaMenuSub.vue b/components/lib/megamenu/MegaMenuSub.vue index 240c3b272..0e5c4b8b4 100644 --- a/components/lib/megamenu/MegaMenuSub.vue +++ b/components/lib/megamenu/MegaMenuSub.vue @@ -22,14 +22,7 @@ >