feat(agent): 调整路由配置,为Agent主路由添加默认组件

This commit is contained in:
林志军
2025-07-14 11:48:19 +08:00
parent dd2fd7ec09
commit c4b074b775

View File

@ -12,6 +12,7 @@ const COMPONENTS: AppRouteRecordRaw[] = [
path: '/agent', path: '/agent',
name: 'Agent', name: 'Agent',
redirect: 'agent/listData', redirect: 'agent/listData',
component: () => import('@/views/Agent/Chat/index.vue'),
meta: { meta: {
locale: '扣子智能体', locale: '扣子智能体',
icon: IconRepository, icon: IconRepository,
@ -20,10 +21,8 @@ const COMPONENTS: AppRouteRecordRaw[] = [
roles: ['*'], roles: ['*'],
id: MENU_GROUP_IDS.PROPERTY_ID, id: MENU_GROUP_IDS.PROPERTY_ID,
}, },
children: [ children: [],
},
],
}
]; ];
export default COMPONENTS; export default COMPONENTS;