重定向首页到后台而不是前台

This commit is contained in:
2026-04-10 16:01:50 +08:00
parent a8704a1f41
commit e698c3b574

View File

@@ -19,6 +19,8 @@ const staticRoutes: Array<RouteRecordRaw> = [
meta: { meta: {
title: pageTitle('home'), title: pageTitle('home'),
}, },
redirect: adminBaseRoutePath,
children: [],
}, },
{ {
// 管理员登录页 - 不放在 adminBaseRoute.children 因为登录页不需要使用后台的布局 // 管理员登录页 - 不放在 adminBaseRoute.children 因为登录页不需要使用后台的布局