Skip to content

Commit 1b5bcc0

Browse files
committed
fix: 优化1级菜单面包屑
1 parent 2f72987 commit 1b5bcc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/menu.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ export const handleMenus = (menuData: MenuItem[], extraMenus: any, components: R
157157
_route.path = `${item.url}/parent`
158158
_route.component = () => import('../layout/BasicLayoutPage.vue')
159159
_route.children = [item]
160+
_route.meta = {}
160161
} else {
161162
const extraRoute = getExtraChildren(item) || [];
162163
if (extraRoute) {

0 commit comments

Comments
 (0)