From edb43e25325636681875d248d4230b35b94629b3 Mon Sep 17 00:00:00 2001 From: hy Date: Tue, 21 Apr 2026 20:18:00 +0800 Subject: [PATCH] fix: align admin route menus --- apps/src/router/access.ts | 5 +++++ apps/src/router/routes/index.ts | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/src/router/access.ts b/apps/src/router/access.ts index fdf43fc..110d84d 100644 --- a/apps/src/router/access.ts +++ b/apps/src/router/access.ts @@ -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'], diff --git a/apps/src/router/routes/index.ts b/apps/src/router/routes/index.ts index fe3cd5e..b6914b0 100644 --- a/apps/src/router/routes/index.ts +++ b/apps/src/router/routes/index.ts @@ -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'), ), );