修改首页默认路由
This commit is contained in:
@@ -19,6 +19,8 @@ const staticRoutes: Array<RouteRecordRaw> = [
|
|||||||
meta: {
|
meta: {
|
||||||
title: pageTitle('home'),
|
title: pageTitle('home'),
|
||||||
},
|
},
|
||||||
|
redirect: adminBaseRoutePath,
|
||||||
|
children: [],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// 管理员登录页 - 不放在 adminBaseRoute.children 因为登录页不需要使用后台的布局
|
// 管理员登录页 - 不放在 adminBaseRoute.children 因为登录页不需要使用后台的布局
|
||||||
|
|||||||
Reference in New Issue
Block a user