gaoluyang
2025-08-13 ff32f47f7e3c145dad9a04c39bc9b7e110e0a336
src/router/index.js
@@ -57,6 +57,7 @@
    component: () => import('@/views/error/401'),
    hidden: true
  },
  {
    path: '',
    component: Layout,
@@ -67,6 +68,33 @@
        component: () => import('@/views/index'),
        name: 'Index',
        meta: { title: '首页', icon: 'dashboard', affix: true }
      }
    ]
  },
  {
    path: '/equipment',
    component: Layout,
    redirect: '/equipment/iot-monitor',
    children: [
      {
        path: 'iot-monitor',
        component: () => import('@/views/equipmentManagement/iotMonitor/index.vue'),
        name: 'IoTMonitor',
        meta: { title: 'IoT监控', icon: 'monitor', noCache: true }
      }
    ]
  },
  {
    path: '/main/MobileChat',
    component: Layout,
    redirect: '',
    hidden: true,
    children: [
      {
        path: '',
        component: () => import('@/views/chatHome/chatHomeIndex/MobileChat'),
        name: 'MobileChat',
        meta: { title: 'AI对话', icon: 'dashboard', affix: true}
      }
    ]
  },
@@ -169,6 +197,6 @@
    }
    return { top: 0 }
  },
});
})
export default router;
export default router