|
@@ -1,8 +1,8 @@
|
1
|
1
|
/*
|
2
|
2
|
* @Author: wrh
|
3
|
3
|
* @Date: 2025-04-07 12:47:46
|
4
|
|
- * @LastEditors: wrh
|
5
|
|
- * @LastEditTime: 2025-06-11 11:21:06
|
|
4
|
+ * @LastEditors: Please set LastEditors
|
|
5
|
+ * @LastEditTime: 2025-06-23 15:03:05
|
6
|
6
|
*/
|
7
|
7
|
import { createWebHistory, createRouter } from 'vue-router'
|
8
|
8
|
/* Layout */
|
|
@@ -90,32 +90,6 @@ export const constantRoutes = [
|
90
|
90
|
}
|
91
|
91
|
]
|
92
|
92
|
},
|
93
|
|
- {
|
94
|
|
- path: '/llm/chat',
|
95
|
|
- component: Layout,
|
96
|
|
- hidden: true,
|
97
|
|
- children: [
|
98
|
|
- {
|
99
|
|
- path: '',
|
100
|
|
- component: () => import('@/views/llm/chat/index'),
|
101
|
|
- name: 'Chat',
|
102
|
|
- meta: { title: '对话', icon: '' }
|
103
|
|
- }
|
104
|
|
- ]
|
105
|
|
- },
|
106
|
|
- {
|
107
|
|
- path: '/llm/knowledge',
|
108
|
|
- component: Layout,
|
109
|
|
- hidden: true,
|
110
|
|
- children: [
|
111
|
|
- {
|
112
|
|
- path: '',
|
113
|
|
- component: () => import('@/views/llm/knowledge/index'),
|
114
|
|
- name: 'Knowledge',
|
115
|
|
- meta: { title: '知识库', icon: '' }
|
116
|
|
- }
|
117
|
|
- ]
|
118
|
|
- }
|
119
|
93
|
]
|
120
|
94
|
|
121
|
95
|
// 动态路由,基于用户权限动态去加载
|