This commit is contained in:
qsh
2025-05-23 17:08:24 +08:00
parent 3aaa26fdc2
commit 4b030babe2
8 changed files with 187 additions and 42 deletions

View File

@@ -53,24 +53,37 @@ const remainingRouter: AppRouteRecordRaw[] = [
{
path: '/',
component: Layout,
redirect: '/index',
redirect: '/Home/index',
name: '',
meta: {
title: '首页'
},
children: [
{
path: '/index',
component: () => import('@/views/Home/Index.vue'),
name: 'Home',
meta: {
title: '首页',
icon: 'ep:home-filled',
noTagsView: true,
affix: true
}
}
]
title: '首页',
hidden: true
}
// children: [
// {
// path: '/index',
// component: () => import('@/views/Home/Index.vue'),
// name: 'Home',
// meta: {
// title: '首页',
// icon: 'ep:home-filled',
// noTagsView: true,
// affix: true
// // hidden: true
// }
// }
// {
// path: 'menu',
// component: () => import('@/views/Basic/Menu/index.vue'),
// name: 'Menu',
// meta: {
// affix: true,
// noTagsView: true,
// icon: 'ep:user',
// title: '菜单管理'
// }
// }
// ]
},
{
path: '/swagger',
@@ -145,11 +158,11 @@ const remainingRouter: AppRouteRecordRaw[] = [
// path: '/Basic',
// component: Layout,
// name: 'Basic',
// meta: { title: '菜单管理' },
// redirect: '/Basic/menu',
// meta: { title: '菜单管理' },
// children: [
// {
// path: '/menu',
// path: 'menu',
// component: () => import('@/views/Basic/Menu/index.vue'),
// name: 'Menu',
// meta: {