fix: fix 'page not found' error on clicking breadcrumbs

This commit is contained in:
Li Kui 2024-07-04 10:03:58 +08:00
parent 54da49d16b
commit b92ca41aa2
1 changed files with 4 additions and 3 deletions

View File

@ -15,7 +15,7 @@ const routes: RouteRecordRaw[] = [
},
name: 'Demos',
path: '/demos',
redirect: '/demos/access/frontend',
redirect: '/demos/access',
children: [
{
meta: {
@ -23,12 +23,13 @@ const routes: RouteRecordRaw[] = [
title: $t('page.demos.access.title'),
},
name: 'Access',
path: '/access',
redirect: '/access/frontend',
path: 'access',
redirect: '/demos/access/frontend',
children: [
{
name: 'AccessFrontend',
path: 'frontend',
redirect: '/demos/access/frontend/page-control',
meta: {
icon: 'mdi:table-key',
title: $t('page.demos.access.frontend-control'),