perf: 走查问题调整

This commit is contained in:
rd
2025-08-29 12:03:04 +08:00
parent 83d11f1f53
commit 98d7adc550
23 changed files with 289 additions and 156 deletions

View File

@ -1,6 +1,9 @@
import { IconBookmark } from '@arco-design/web-vue/es/icon';
import type { AppRouteRecordRaw } from '../types';
import { MENU_GROUP_IDS } from '@/router/constants';
import { GROUP_MANAGEMENT_NAME, GROUP_WRITER_NAME } from '@/layouts/components/siderBar/menu-list';
const COMPONENTS: AppRouteRecordRaw[] = [
{
@ -14,6 +17,9 @@ const COMPONENTS: AppRouteRecordRaw[] = [
requireLogin: true,
roles: ['*'],
id: MENU_GROUP_IDS.MANAGEMENT_ID,
group: GROUP_MANAGEMENT_NAME,
hideAiSearch: true,
},
children: [
{
@ -25,6 +31,8 @@ const COMPONENTS: AppRouteRecordRaw[] = [
requiresAuth: false,
requireLogin: true,
roles: ['*'],
group: GROUP_MANAGEMENT_NAME,
hideAiSearch: true,
},
},
{
@ -36,6 +44,8 @@ const COMPONENTS: AppRouteRecordRaw[] = [
requiresAuth: false,
requireLogin: true,
roles: ['*'],
group: GROUP_MANAGEMENT_NAME,
hideAiSearch: true,
},
},
{
@ -47,6 +57,8 @@ const COMPONENTS: AppRouteRecordRaw[] = [
requiresAuth: false,
requireLogin: true,
roles: ['*'],
group: GROUP_MANAGEMENT_NAME,
hideAiSearch: true,
},
},
],