fix: breadcrumb is displayed despite the menu being hidden (#3733)
* fix: bug RangePicker with componentProps valueFormat ('YYYY-MM-DD') does not return the formatted value when using form validate() method #3690
* fix: breadcrumb is displayed despite the menu being hidden
This commit is contained in:
parent
9784cdc840
commit
e8a86ec8b9
|
|
@ -66,7 +66,10 @@
|
||||||
const filterMenus = menus.filter((item) => item.path === parent[0]);
|
const filterMenus = menus.filter((item) => item.path === parent[0]);
|
||||||
const matched = getMatched(filterMenus, parent) as any;
|
const matched = getMatched(filterMenus, parent) as any;
|
||||||
|
|
||||||
if (!matched || matched.length === 0) return;
|
if (!matched || matched.length === 0){
|
||||||
|
routes.value = [];
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const breadcrumbList = filterItem(matched);
|
const breadcrumbList = filterItem(matched);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue