perf: 走查问题调整
This commit is contained in:
@ -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,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user