Преглед изворни кода

feat(router): 更新预警页面为AI助手页面

- 将路径 '/index' 对应的组件由预警页面改为AI助手页面
- 修改路由名称从 'WarningPage' 到 'Assistant'
- 更新路
huoyi пре 6 дана
родитељ
комит
5cfc654bd5
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      src/router/index.js

+ 3 - 3
src/router/index.js

@@ -92,9 +92,9 @@ export const constantRoutes = [
92 92
     children: [
93 93
       {
94 94
         path: '/index',
95
-        component: () => import('@/views/warningPage'),
96
-        name: 'WarningPage',
97
-        meta: { title: '预警页面', icon: 'dashboard' }
95
+        component: () => import('@/views/assistant'),
96
+        name: 'Assistant',
97
+        meta: { title: 'AI助手', icon: 'dashboard' }
98 98
       },
99 99
       // {
100 100
       //   path: '/dashboard-work',