diff --git a/apps/backend-mock/src/modules/menu/menu.controller.ts b/apps/backend-mock/src/modules/menu/menu.controller.ts index d2552332..a8155365 100644 --- a/apps/backend-mock/src/modules/menu/menu.controller.ts +++ b/apps/backend-mock/src/modules/menu/menu.controller.ts @@ -89,16 +89,16 @@ export class MenuController { }, name: 'Demos', path: '/demos', - redirect: '/access', + redirect: '/demos/access', children: [ { name: 'Access', - path: '/access', + path: 'access', meta: { icon: 'mdi:cloud-key-outline', title: 'page.demos.access.backendPermissions', }, - redirect: '/access/page-control', + redirect: '/demos/access/page-control', children: [ { name: 'AccessPageControl', diff --git a/apps/web-antd/src/router/routes/modules/demos.ts b/apps/web-antd/src/router/routes/modules/demos.ts index e8bb7736..769717f6 100644 --- a/apps/web-antd/src/router/routes/modules/demos.ts +++ b/apps/web-antd/src/router/routes/modules/demos.ts @@ -98,7 +98,7 @@ const routes: RouteRecordRaw[] = [ children: [ { name: 'HideChildrenInMenuParent', - path: 'hide-children-in-menu', + path: 'hide-menu-children', component: () => import('#/views/demos/features/hide-menu-children/parent.vue'), meta: { @@ -130,6 +130,7 @@ const routes: RouteRecordRaw[] = [ { name: 'BreadcrumbDemos', path: 'breadcrumb', + redirect: '/demos/features/breadcrumb/lateral', meta: { icon: 'lucide:navigation', title: $t('page.demos.features.breadcrumbNavigation'), @@ -161,6 +162,7 @@ const routes: RouteRecordRaw[] = [ { name: 'BreadcrumbLevel', path: 'level', + redirect: '/demos/features/breadcrumb/level/detail', meta: { icon: 'lucide:navigation', title: $t('page.demos.features.breadcrumbLevel'),