mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-22 22:16:18 +08:00
fix: resolve redirect not found issue and remove /demos prefix
- Resolved the issue where redirects were not found in the router - Standardized the removal of the /demos prefix from routes
This commit is contained in:
@@ -89,16 +89,16 @@ export class MenuController {
|
||||
},
|
||||
name: 'Demos',
|
||||
path: '/demos',
|
||||
redirect: '/demos/access',
|
||||
redirect: '/access',
|
||||
children: [
|
||||
{
|
||||
name: 'Access',
|
||||
path: 'access',
|
||||
path: '/access',
|
||||
meta: {
|
||||
icon: 'mdi:cloud-key-outline',
|
||||
title: 'page.demos.access.backendPermissions',
|
||||
},
|
||||
redirect: '/demos/access/page-control',
|
||||
redirect: '/access/page-control',
|
||||
children: [
|
||||
{
|
||||
name: 'AccessPageControl',
|
||||
|
Reference in New Issue
Block a user