diff --git a/api-generator/components/breadcrumb.js b/api-generator/components/breadcrumb.js index 9026db2fd..035226d42 100644 --- a/api-generator/components/breadcrumb.js +++ b/api-generator/components/breadcrumb.js @@ -10,6 +10,12 @@ const BreadcrumbProps = [ type: "menuitem", default: "null", description: "Configuration for the home icon." + }, + { + name: "exact", + type: "boolean", + default: "true", + description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path." } ]; diff --git a/src/components/breadcrumb/Breadcrumb.d.ts b/src/components/breadcrumb/Breadcrumb.d.ts index b2524342a..76cbaaee7 100755 --- a/src/components/breadcrumb/Breadcrumb.d.ts +++ b/src/components/breadcrumb/Breadcrumb.d.ts @@ -1,6 +1,7 @@ interface BreadcrumbProps { home?: any; model?: any[]; + exact?: boolean; } declare class Breadcrumb { diff --git a/src/components/breadcrumb/Breadcrumb.vue b/src/components/breadcrumb/Breadcrumb.vue index fde0b6b9c..eb7db95c2 100755 --- a/src/components/breadcrumb/Breadcrumb.vue +++ b/src/components/breadcrumb/Breadcrumb.vue @@ -1,10 +1,10 @@