智慧园区前端大屏
shuishen
2025-02-20 c76b6b7d56a681f4c0e62764fd922f90b4df03dd
src/router/index.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-25 16:35:31
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-12-02 17:23:21
 * @LastEditTime: 2025-02-11 14:39:11
 * @FilePath: \bigScreen\src\router\index.js
 * @Description: 
 * 
@@ -22,7 +22,7 @@
  //   redirect: '/layout',
  // },
  {
    path: '',
    path: '/',
    redirect: '/layout',
  },
  {
@@ -35,10 +35,22 @@
      isAuth: false,
    },
  },
  {
    path: '/sign',
    name: '免登录',
    component: () => import('@/pages/sign.vue'),
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false,
    },
  },
  {
    path: '/layout',
    name: 'layout',
    redirect: '/layout/map/main/survey',
    redirect: '/layout/map/main/default',
    component: layout,
    children: [
      {
@@ -51,6 +63,14 @@
            name: 'main',
            component: mainLayout,
            children: [
              {
                path: 'default',
                meta: {
                  title: '首页'
                },
                component: () => import('@/views/default/index.vue')
              },
              {
                path: 'survey',
                meta: {
@@ -125,13 +145,13 @@
            },
            component: () => import('@/views/rt/index.vue')
          },
          {
            path: 'ochart',
            meta: {
              title: '作战图'
            },
            component: () => import('@/views/ochart/index.vue')
          },
          // {
          //   path: 'ochart',
          //   meta: {
          //     title: '作战图'
          //   },
          //   component: () => import('@/views/ochart/index.vue')
          // },
        ]
      },
    ]