diff --git a/src/common/menu.js b/src/common/menu.js index 50f8a46406f846851b9a4423428b9dfbdf444ab4..a5da89ada0de089cd237e11c8013f595291cb0ca 100644 --- a/src/common/menu.js +++ b/src/common/menu.js @@ -13,6 +13,7 @@ const menuData = [{ }, { name: '工作台', path: 'workplace', + // hideInBreadcrumb: true, // hideInMenu: true, }], }, { diff --git a/src/common/router.js b/src/common/router.js index c27e9d4d82e925fc0a9049277986055706894f9e..60235976716546bada696a45fe7aed3b733292cd 100644 --- a/src/common/router.js +++ b/src/common/router.js @@ -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; });