fix: align admin route menus
This commit is contained in:
parent
8f2b5ad3dd
commit
edb43e2532
@ -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'],
|
||||
|
||||
@ -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'),
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user