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