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: [ children: [
{ {
path: 'base-1', path: 'base',
name: 'DashboardBase-1', name: 'DashboardBase',
// component: () => import('@/pages/dashboard/base/index.vue'), component: () => import('@/pages/dashboard/base/index.vue'),
meta: { meta: {
title: { title: {
zh_CN: '概览仪表盘', zh_CN: '概览仪表盘',
en_US: 'Overview', en_US: 'Overview',
}, },
}, },
},
{
path: 'detail',
name: 'DashboardDetail',
// component: () => import('@/pages/dashboard/detail/index.vue'),
meta: {
title: {
zh_CN: '统计报表',
en_US: 'Dashboard Detail',
},
},
children: [ children: [
{ {
path: 'base', path: 'base-1',
name: 'DashboardBase', name: 'DashboardBase-1',
component: () => import('@/pages/dashboard/base/index.vue'), component: () => import('@/pages/dashboard/base/index.vue'),
meta: { meta: {
title: { 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',
},
},
},
], ],
}, },
]; ];