diff --git a/components/lib/dock/BaseDock.vue b/components/lib/dock/BaseDock.vue index f190fd110..655138315 100644 --- a/components/lib/dock/BaseDock.vue +++ b/components/lib/dock/BaseDock.vue @@ -14,10 +14,6 @@ export default { class: null, style: null, tooltipOptions: null, - exact: { - type: Boolean, - default: true - }, menuId: { type: String, default: null diff --git a/components/lib/dock/Dock.d.ts b/components/lib/dock/Dock.d.ts index 85876a465..f4d93268c 100644 --- a/components/lib/dock/Dock.d.ts +++ b/components/lib/dock/Dock.d.ts @@ -188,6 +188,7 @@ export interface DockProps { style?: any; /** * 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/dock/Dock.vue b/components/lib/dock/Dock.vue index cb8fdc461..cd3df4f78 100644 --- a/components/lib/dock/Dock.vue +++ b/components/lib/dock/Dock.vue @@ -1,18 +1,6 @@ @@ -23,11 +11,6 @@ import DockSub from './DockSub.vue'; export default { name: 'Dock', extends: BaseDock, - beforeMount() { - if (!this.$slots.item) { - console.warn('In future versions, vue-router support will be removed. Item templating should be used.'); - } - }, computed: { containerClass() { return [this.class, this.cx('root')]; diff --git a/components/lib/dock/DockSub.vue b/components/lib/dock/DockSub.vue index e0b38ee11..a750b85b4 100644 --- a/components/lib/dock/DockSub.vue +++ b/components/lib/dock/DockSub.vue @@ -31,25 +31,7 @@ >