feat(web): 增加AI对话的能力

This commit is contained in:
v-zhangjc9
2025-05-13 16:03:08 +08:00
parent 819d56fbe3
commit dd2e56e27b
4 changed files with 247 additions and 9 deletions

View File

@@ -76,7 +76,7 @@ export const routes: RouteObject[] = [
children: [
{
index: true,
element: <Navigate to="/ai/inspection" replace/>,
element: <Navigate to="/ai/conversation" replace/>,
},
{
path: 'inspection',
@@ -169,16 +169,16 @@ export const menus = {
name: 'AI',
icon: <OpenAIOutlined/>,
routes: [
{
path: '/ai/inspection',
name: '智能巡检',
icon: <CheckSquareOutlined/>,
},
{
path: '/ai/conversation',
name: '智慧问答',
icon: <QuestionOutlined/>,
},
{
path: '/ai/inspection',
name: '智能巡检',
icon: <CheckSquareOutlined/>,
},
],
},
],