chore: 修改demo路由

This commit is contained in:
阿菜 Cai 2024-09-10 00:06:41 +08:00
parent 2b6c8dc577
commit d43577d083

View File

@ -19,19 +19,30 @@ export default [
},
children: [
{
path: 'base-1',
name: 'DashboardBase-1',
// component: () => import('@/pages/dashboard/base/index.vue'),
path: 'base',
name: 'DashboardBase',
component: () => import('@/pages/dashboard/base/index.vue'),
meta: {
title: {
zh_CN: '概览仪表盘',
en_US: 'Overview',
},
},
},
{
path: 'detail',
name: 'DashboardDetail',
// component: () => import('@/pages/dashboard/detail/index.vue'),
meta: {
title: {
zh_CN: '统计报表',
en_US: 'Dashboard Detail',
},
},
children: [
{
path: 'base',
name: 'DashboardBase',
path: 'base-1',
name: 'DashboardBase-1',
component: () => import('@/pages/dashboard/base/index.vue'),
meta: {
title: {
@ -53,17 +64,6 @@ export default [
},
],
},
{
path: 'detail',
name: 'DashboardDetail',
component: () => import('@/pages/dashboard/detail/index.vue'),
meta: {
title: {
zh_CN: '统计报表',
en_US: 'Dashboard Detail',
},
},
},
],
},
];