2
0

首页置换成仪表盘

This commit is contained in:
lai
2025-01-09 14:38:34 +08:00
parent 48a69c8b4b
commit 4708df2a6f
13 changed files with 12 additions and 12 deletions

View File

@@ -45,11 +45,11 @@ export const generatedRoutes: GeneratedRoute[] = [
}
},
{
name: 'home',
path: '/home',
component: 'layout.base$view.home',
name: 'dashboard',
path: '/dashboard',
component: 'layout.base$view.dashboard',
meta: {
title: 'home',
title: 'dashboard',
i18nKey: 'route.home',
icon: 'mdi:monitor-dashboard',
order: 0,

View File

@@ -198,7 +198,7 @@ const routeMap: RouteMap = {
'function_super-page': '/function/super-page',
'function_tab': '/function/tab',
'function_toggle-auth': '/function/toggle-auth',
'home': '/home',
'dashboard': '/dashboard',
'login': '/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?',
'user-center': '/user-center'
};

View File

@@ -4,7 +4,7 @@ import { transformElegantRoutesToVueRoutes } from '../elegant/transform';
export const ROOT_ROUTE: CustomRoute = {
name: 'root',
path: '/',
redirect: '/home',
redirect: '/dashboard',
meta: {
title: 'root',
constant: true