mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-23 06:36:19 +08:00
fix: fix 'page not found' error on clicking breadcrumbs
This commit is contained in:
@@ -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'),
|
||||
|
Reference in New Issue
Block a user