首页置换成仪表盘
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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'
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user