refactor(chat + workspace): chat和workspace重构,子路由、懒加载等
This commit is contained in:
1 parent
0a647a0b79
commit
1f1f7236b0
57 files changed
+4356
-3798
No files matched your search
@@ -3,8 +3,12 @@
|
||||
* 对话相关路由。
|
||||
*/
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
import ChatView from '@/views/ChatView.vue';
|
||||
|
||||
export const chatRoutes: RouteRecordRaw[] = [
|
||||
{ path: '/chat/:agentId', name: 'Chat', component: ChatView, props: true },
|
||||
{
|
||||
path: '/chat/:agentId',
|
||||
name: 'Chat',
|
||||
component: () => import('@/features/chat/views/ChatView.vue'),
|
||||
props: true,
|
||||
},
|
||||
];
|
||||
Reference in new issue
Block a user