Commit 148aaa89 authored by ddcat1115's avatar ddcat1115

let `hideInBreadcrumb` available in menu.js

parent 9a34d47c
...@@ -13,6 +13,7 @@ const menuData = [{ ...@@ -13,6 +13,7 @@ const menuData = [{
}, { }, {
name: 'ε·₯作台', name: 'ε·₯作台',
path: 'workplace', path: 'workplace',
// hideInBreadcrumb: true,
// hideInMenu: true, // hideInMenu: true,
}], }],
}, { }, {
......
...@@ -192,6 +192,7 @@ export const getRouterData = (app) => { ...@@ -192,6 +192,7 @@ export const getRouterData = (app) => {
...router, ...router,
name: router.name || menuItem.name, name: router.name || menuItem.name,
authority: router.authority || menuItem.authority, authority: router.authority || menuItem.authority,
hideInBreadcrumb: router.hideInBreadcrumb || menuItem.hideInBreadcrumb,
}; };
routerData[path] = router; routerData[path] = router;
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment