Commit 148aaa89 authored by ddcat1115's avatar ddcat1115

let `hideInBreadcrumb` available in menu.js

parent 9a34d47c
......@@ -13,6 +13,7 @@ const menuData = [{
}, {
name: '工作台',
path: 'workplace',
// hideInBreadcrumb: true,
// hideInMenu: true,
}],
}, {
......
......@@ -192,6 +192,7 @@ export const getRouterData = (app) => {
...router,
name: router.name || menuItem.name,
authority: router.authority || menuItem.authority,
hideInBreadcrumb: router.hideInBreadcrumb || menuItem.hideInBreadcrumb,
};
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