From 816d1f5a69dff1f9e757320237410b8462299625 Mon Sep 17 00:00:00 2001 From: Netfan Date: Wed, 15 Jan 2025 19:24:02 +0800 Subject: [PATCH] fix: demos route fixed (#5405) --- apps/web-antd/src/router/routes/modules/dashboard.ts | 2 +- apps/web-ele/src/router/routes/modules/dashboard.ts | 2 +- apps/web-naive/src/router/routes/modules/dashboard.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web-antd/src/router/routes/modules/dashboard.ts b/apps/web-antd/src/router/routes/modules/dashboard.ts index f3a952b0..5254dc65 100644 --- a/apps/web-antd/src/router/routes/modules/dashboard.ts +++ b/apps/web-antd/src/router/routes/modules/dashboard.ts @@ -10,7 +10,7 @@ const routes: RouteRecordRaw[] = [ title: $t('page.dashboard.title'), }, name: 'Dashboard', - path: '/', + path: '/dashboard', children: [ { name: 'Analytics', diff --git a/apps/web-ele/src/router/routes/modules/dashboard.ts b/apps/web-ele/src/router/routes/modules/dashboard.ts index f3a952b0..5254dc65 100644 --- a/apps/web-ele/src/router/routes/modules/dashboard.ts +++ b/apps/web-ele/src/router/routes/modules/dashboard.ts @@ -10,7 +10,7 @@ const routes: RouteRecordRaw[] = [ title: $t('page.dashboard.title'), }, name: 'Dashboard', - path: '/', + path: '/dashboard', children: [ { name: 'Analytics', diff --git a/apps/web-naive/src/router/routes/modules/dashboard.ts b/apps/web-naive/src/router/routes/modules/dashboard.ts index f3a952b0..5254dc65 100644 --- a/apps/web-naive/src/router/routes/modules/dashboard.ts +++ b/apps/web-naive/src/router/routes/modules/dashboard.ts @@ -10,7 +10,7 @@ const routes: RouteRecordRaw[] = [ title: $t('page.dashboard.title'), }, name: 'Dashboard', - path: '/', + path: '/dashboard', children: [ { name: 'Analytics',