perf: 走查问题调整,修改sidebar结构

This commit is contained in:
rd
2025-08-29 16:44:27 +08:00
parent a9e49faf66
commit 7f493b8014
11 changed files with 109 additions and 80 deletions

View File

@ -15,6 +15,7 @@ const COMPONENTS: AppRouteRecordRaw[] = [
requireLogin: true,
roles: ['*'],
id: MENU_GROUP_IDS.AGENT,
group: 'agent'
},
children: [
{
@ -26,7 +27,9 @@ const COMPONENTS: AppRouteRecordRaw[] = [
requiresAuth: false,
requireLogin: true,
hideFooter: true,
isAgentRoute: true
isAgentRoute: true,
group: 'agent',
hideAiSearch: true,
},
},
{
@ -41,6 +44,8 @@ const COMPONENTS: AppRouteRecordRaw[] = [
id: MENU_GROUP_IDS.AGENT,
isAgentRoute: true,
hideInMenu: true,
group: 'agent',
hideAiSearch: true,
},
},
@ -55,7 +60,9 @@ const COMPONENTS: AppRouteRecordRaw[] = [
hideFooter: true,
id: MENU_GROUP_IDS.AGENT,
isAgentRoute: true,
hideInMenu: true,
hideInMenu: true,
group: 'agent',
hideAiSearch: true,
},
},
],