feat(agent): 调整路由配置,为Agent主路由添加默认组件
This commit is contained in:
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user