From d43577d083c5f21481022b134f0211fc09056b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E8=8F=9C=20Cai?= Date: Tue, 10 Sep 2024 00:06:41 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9demo=E8=B7=AF?= =?UTF-8?q?=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/homepage.ts | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/router/modules/homepage.ts b/src/router/modules/homepage.ts index e06b436..cc00b16 100644 --- a/src/router/modules/homepage.ts +++ b/src/router/modules/homepage.ts @@ -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', - }, - }, - }, ], }, ];