chore: update

This commit is contained in:
xiaoxian521
2022-08-22 16:16:17 +08:00
parent cbe539c727
commit cec867297d
3 changed files with 86 additions and 86 deletions

View File

@@ -59,10 +59,10 @@ const getBreadcrumb = (): void => {
}
matched.forEach((item, index) => {
if (currentRoute.query || currentRoute.params) return;
if (currentRoute?.query || currentRoute?.params) return;
if (item?.children) {
item.children.forEach(v => {
if (v.meta.title === item.meta.title) {
if (v?.meta?.title === item?.meta?.title) {
matched.splice(index, 1);
}
});