zouyu
7 天以前 f1ee0aa9d6c6c89ee9f0e5d845cd3c64f161aeaf
src/router/index.js
@@ -43,6 +43,11 @@
    hidden: true
  },
  {
    path: "/callbacklccpn",
    component: () => import("@/views/tideLogin.vue"),
    hidden: true,
  },
  {
    path: '/register',
    component: () => import('@/views/register'),
    hidden: true
@@ -68,33 +73,6 @@
        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}
      }
    ]
  },
@@ -130,6 +108,21 @@
      }
    ]
  },
  // {
  //   path: '/main/MobileChat',
  //   component: Layout,
  //   redirect: '',
  //   hidden: true,
  //   permissions: ['MobileChat:edit'],
  //   children: [
  //     {
  //       path: '',
  //       component: () => import('@/views/chatHome/chatHomeIndex/MobileChat'),
  //       name: 'MobileChat',
  //       meta: { title: 'AI对话', activeMenu: '/chatHome/chatHomeIndex'}
  //     }
  //   ]
  // },
  {
    path: '/system/role-auth',
    component: Layout,