mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:31:41 +08:00
wip(menu): add hideChildrenInMenu option
This commit is contained in:
@@ -11,6 +11,7 @@ const dashboard: AppRouteModule = {
|
||||
meta: {
|
||||
icon: 'ion:grid-outline',
|
||||
title: t('routes.dashboard.dashboard'),
|
||||
hideChildrenInMenu: true,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
@@ -81,7 +81,7 @@ const feat: AppRouteModule = {
|
||||
component: () => import('/@/views/demo/feat/breadcrumb/ChildrenList.vue'),
|
||||
meta: {
|
||||
title: t('routes.demo.feat.breadcrumbChildren'),
|
||||
hideBreadcrumb: true,
|
||||
// hideBreadcrumb: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@@ -30,6 +30,9 @@ export interface RouteMeta {
|
||||
// Whether the route has been dynamically added
|
||||
hideBreadcrumb?: boolean;
|
||||
|
||||
// Hide submenu
|
||||
hideChildrenInMenu?: boolean;
|
||||
|
||||
// Carrying parameters
|
||||
carryParam?: boolean;
|
||||
|
||||
|
Reference in New Issue
Block a user