15 lines
308 B
TypeScript
15 lines
308 B
TypeScript
/**
|
|
* app/router/routes/chat.routes.ts
|
|
* 对话相关路由。
|
|
*/
|
|
import type { RouteRecordRaw } from 'vue-router';
|
|
|
|
export const chatRoutes: RouteRecordRaw[] = [
|
|
{
|
|
path: '/chat/:agentId',
|
|
name: 'Chat',
|
|
component: () => import('@/features/chat/views/ChatView.vue'),
|
|
props: true,
|
|
},
|
|
];
|