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'],
|
routers: ['room/business-development'],
|
||||||
titles: ['BD列表'],
|
titles: ['BD列表'],
|
||||||
},
|
},
|
||||||
|
PayCountry: {
|
||||||
|
aliases: ['openPayCountry'],
|
||||||
|
routers: ['open_pay/country'],
|
||||||
|
titles: ['开通支付国家'],
|
||||||
|
},
|
||||||
PropsResourceConfig: { aliases: ['PropsConfig'], routers: ['props/config'] },
|
PropsResourceConfig: { aliases: ['PropsConfig'], routers: ['props/config'] },
|
||||||
PropsSourceGroup: {
|
PropsSourceGroup: {
|
||||||
aliases: ['PropsActivityRewardCnf'],
|
aliases: ['PropsActivityRewardCnf'],
|
||||||
|
|||||||
@ -16,7 +16,9 @@ const externalRouteFiles = import.meta.glob('./external/**/*.ts', {
|
|||||||
|
|
||||||
const accessRouteFiles = Object.fromEntries(
|
const accessRouteFiles = Object.fromEntries(
|
||||||
Object.entries(dynamicRouteFiles).filter(
|
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