2025-07-10 19:05:38 +08:00
|
|
|
/**
|
|
|
|
|
* 智能体应用
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import type { AppRouteRecordRaw } from '../types';
|
|
|
|
|
import { MENU_GROUP_IDS } from '@/router/constants';
|
|
|
|
|
|
|
|
|
|
import IconRepository from '@/assets/svg/icon-repository.svg';
|
|
|
|
|
|
|
|
|
|
const COMPONENTS: AppRouteRecordRaw[] = [
|
|
|
|
|
{
|
|
|
|
|
path: '/agent',
|
|
|
|
|
name: 'Agent',
|
|
|
|
|
redirect: 'agent/listData',
|
|
|
|
|
meta: {
|
2025-07-11 18:30:44 +08:00
|
|
|
locale: '扣子智能体',
|
2025-07-10 19:05:38 +08:00
|
|
|
icon: IconRepository,
|
|
|
|
|
requiresAuth: true,
|
|
|
|
|
requireLogin: true,
|
|
|
|
|
roles: ['*'],
|
|
|
|
|
id: MENU_GROUP_IDS.PROPERTY_ID,
|
|
|
|
|
},
|
|
|
|
|
children: [
|
2025-07-11 18:30:44 +08:00
|
|
|
|
2025-07-10 19:05:38 +08:00
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
export default COMPONENTS;
|