fix: fix 'page not found' error on clicking breadcrumbs
parent
54da49d16b
commit
b92ca41aa2
|
@ -15,7 +15,7 @@ const routes: RouteRecordRaw[] = [
|
||||||
},
|
},
|
||||||
name: 'Demos',
|
name: 'Demos',
|
||||||
path: '/demos',
|
path: '/demos',
|
||||||
redirect: '/demos/access/frontend',
|
redirect: '/demos/access',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
meta: {
|
meta: {
|
||||||
|
@ -23,12 +23,13 @@ const routes: RouteRecordRaw[] = [
|
||||||
title: $t('page.demos.access.title'),
|
title: $t('page.demos.access.title'),
|
||||||
},
|
},
|
||||||
name: 'Access',
|
name: 'Access',
|
||||||
path: '/access',
|
path: 'access',
|
||||||
redirect: '/access/frontend',
|
redirect: '/demos/access/frontend',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
name: 'AccessFrontend',
|
name: 'AccessFrontend',
|
||||||
path: 'frontend',
|
path: 'frontend',
|
||||||
|
redirect: '/demos/access/frontend/page-control',
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'mdi:table-key',
|
icon: 'mdi:table-key',
|
||||||
title: $t('page.demos.access.frontend-control'),
|
title: $t('page.demos.access.frontend-control'),
|
||||||
|
|
Loading…
Reference in New Issue