fix: align admin route menus

This commit is contained in:
hy 2026-04-21 20:18:00 +08:00
parent 8f2b5ad3dd
commit edb43e2532
2 changed files with 8 additions and 1 deletions

View File

@ -31,6 +31,11 @@ const ROUTE_MENU_OVERRIDES: Record<
routers: ['room/business-development'],
titles: ['BD列表'],
},
PayCountry: {
aliases: ['openPayCountry'],
routers: ['open_pay/country'],
titles: ['开通支付国家'],
},
PropsResourceConfig: { aliases: ['PropsConfig'], routers: ['props/config'] },
PropsSourceGroup: {
aliases: ['PropsActivityRewardCnf'],

View File

@ -16,7 +16,9 @@ const externalRouteFiles = import.meta.glob('./external/**/*.ts', {
const accessRouteFiles = Object.fromEntries(
Object.entries(dynamicRouteFiles).filter(
([path]) => !path.endsWith('/dashboard.ts'),
([path]) =>
!path.endsWith('/dashboard.ts') &&
!path.endsWith('/resident-activity.ts'),
),
);