diff --git a/src/app/(main)/layout.tsx b/src/app/(main)/layout.tsx index 609375c..f45b11f 100644 --- a/src/app/(main)/layout.tsx +++ b/src/app/(main)/layout.tsx @@ -67,8 +67,6 @@ const NAV_GROUPS: NavGroup[] = [ { key: '/comparison-records', icon: , label: '比价记录' }, { key: '/coupon-data', icon: , label: '领券记录' }, { key: '/cps', icon: , label: 'CPS收益' }, - { key: '/device-liveness', icon: , label: '设备存活' }, - { key: '/analytics-health', icon: , label: '埋点成功率' }, ], }, { @@ -92,9 +90,18 @@ const NAV_GROUPS: NavGroup[] = [ { key: '/users', icon: , label: '用户管理' }, ], }, + { + key: 'monitoring-audit', + icon: , + label: '监控审计', + children: [ + { key: '/device-liveness', icon: , label: '设备存活' }, + { key: '/analytics-health', icon: , label: '埋点成功率' }, + { key: '/event-logs', icon: , label: '埋点日志' }, + { key: '/audit-logs', icon: , label: '审计日志' }, + ], + }, { key: '/admins', icon: , label: '权限管理' }, - { key: '/event-logs', icon: , label: '埋点日志' }, - { key: '/audit-logs', icon: , label: '审计日志' }, ]; // 导航项 key(/dashboard)→ 权限页 key(dashboard),与后端 permissions.py 目录对齐