fixed: 进入404页面不会触发获取菜单.

This commit is contained in:
lijiahang
2023-08-15 18:34:09 +08:00
parent fa8dc6d8fa
commit 4facfc66cd
12 changed files with 54 additions and 22 deletions

View File

@@ -7,14 +7,14 @@ const USER: AppRouteRecordRaw = {
component: DEFAULT_LAYOUT,
children: [
{
path: '/user/userChild1',
name: 'userChild1',
component: () => import('@/views/user/child1/index.vue'),
name: 'userRole',
path: '/user/role',
component: () => import('@/views/user/role/index.vue'),
},
{
path: '/user/userChild2',
name: 'userChild2',
component: () => import('@/views/user/child2/index.vue'),
name: 'userUser',
path: '/user/user',
component: () => import('@/views/user/user/index.vue'),
},
],
};