This commit is contained in:
qsh
2025-05-19 11:41:27 +08:00
parent 6726bd7756
commit dc3292982a
5 changed files with 59 additions and 22 deletions

View File

@@ -51,14 +51,26 @@ const remainingRouter: AppRouteRecordRaw[] = [
}
},
{
path: '',
path: '/',
component: Layout,
redirect: '/Home/index',
redirect: '/index',
name: '',
meta: {
title: '首页',
hidden: true
}
title: '首页'
},
children: [
{
path: '/index',
component: () => import('@/views/Home/index.vue'),
name: 'Home',
meta: {
title: '首页',
icon: 'ep:home-filled',
noTagsView: true,
affix: true
}
}
]
},
{
path: '/swagger',
@@ -137,7 +149,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
// redirect: '/Basic/menu',
// children: [
// {
// path: 'menu',
// path: '/menu',
// component: () => import('@/views/Basic/Menu/index.vue'),
// name: 'Menu',
// meta: {