From ad9b437003e0d3ae26047d2cfd1a6a6ecc9037d7 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 8 Nov 2023 15:47:48 +0300 Subject: [PATCH] Refactor #4739 - For Breadcrumb --- components/lib/breadcrumb/BaseBreadcrumb.vue | 4 ---- components/lib/breadcrumb/Breadcrumb.d.ts | 1 + components/lib/breadcrumb/Breadcrumb.vue | 9 ++------- components/lib/breadcrumb/BreadcrumbItem.vue | 14 +------------- components/lib/breadcrumb/style/BreadcrumbStyle.js | 8 +------- 5 files changed, 5 insertions(+), 31 deletions(-) diff --git a/components/lib/breadcrumb/BaseBreadcrumb.vue b/components/lib/breadcrumb/BaseBreadcrumb.vue index 4d61e8ebca..4ce3808863 100644 --- a/components/lib/breadcrumb/BaseBreadcrumb.vue +++ b/components/lib/breadcrumb/BaseBreadcrumb.vue @@ -13,10 +13,6 @@ export default { home: { type: null, default: null - }, - exact: { - type: Boolean, - default: true } }, style: BreadcrumbStyle, diff --git a/components/lib/breadcrumb/Breadcrumb.d.ts b/components/lib/breadcrumb/Breadcrumb.d.ts index fbc9c20971..f383b03c66 100755 --- a/components/lib/breadcrumb/Breadcrumb.d.ts +++ b/components/lib/breadcrumb/Breadcrumb.d.ts @@ -134,6 +134,7 @@ export interface BreadcrumbProps { home?: MenuItem | 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/breadcrumb/Breadcrumb.vue b/components/lib/breadcrumb/Breadcrumb.vue index 1b1158f579..cb3ecd280e 100755 --- a/components/lib/breadcrumb/Breadcrumb.vue +++ b/components/lib/breadcrumb/Breadcrumb.vue @@ -1,14 +1,14 @@