fix: page not found when clicked breadcrumb
parent
9ec91ac16d
commit
0e13412f27
|
@ -89,16 +89,16 @@ export class MenuController {
|
||||||
},
|
},
|
||||||
name: 'Demos',
|
name: 'Demos',
|
||||||
path: '/demos',
|
path: '/demos',
|
||||||
redirect: '/access',
|
redirect: '/demos/access',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
name: 'Access',
|
name: 'Access',
|
||||||
path: '/access',
|
path: 'access',
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'mdi:cloud-key-outline',
|
icon: 'mdi:cloud-key-outline',
|
||||||
title: 'page.demos.access.backendPermissions',
|
title: 'page.demos.access.backendPermissions',
|
||||||
},
|
},
|
||||||
redirect: '/access/page-control',
|
redirect: '/demos/access/page-control',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
name: 'AccessPageControl',
|
name: 'AccessPageControl',
|
||||||
|
|
|
@ -98,7 +98,7 @@ const routes: RouteRecordRaw[] = [
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
name: 'HideChildrenInMenuParent',
|
name: 'HideChildrenInMenuParent',
|
||||||
path: 'hide-children-in-menu',
|
path: 'hide-menu-children',
|
||||||
component: () =>
|
component: () =>
|
||||||
import('#/views/demos/features/hide-menu-children/parent.vue'),
|
import('#/views/demos/features/hide-menu-children/parent.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
|
@ -130,6 +130,7 @@ const routes: RouteRecordRaw[] = [
|
||||||
{
|
{
|
||||||
name: 'BreadcrumbDemos',
|
name: 'BreadcrumbDemos',
|
||||||
path: 'breadcrumb',
|
path: 'breadcrumb',
|
||||||
|
redirect: '/demos/features/breadcrumb/lateral',
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'lucide:navigation',
|
icon: 'lucide:navigation',
|
||||||
title: $t('page.demos.features.breadcrumbNavigation'),
|
title: $t('page.demos.features.breadcrumbNavigation'),
|
||||||
|
@ -161,6 +162,7 @@ const routes: RouteRecordRaw[] = [
|
||||||
{
|
{
|
||||||
name: 'BreadcrumbLevel',
|
name: 'BreadcrumbLevel',
|
||||||
path: 'level',
|
path: 'level',
|
||||||
|
redirect: '/demos/features/breadcrumb/level/detail',
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'lucide:navigation',
|
icon: 'lucide:navigation',
|
||||||
title: $t('page.demos.features.breadcrumbLevel'),
|
title: $t('page.demos.features.breadcrumbLevel'),
|
||||||
|
|
Loading…
Reference in New Issue