智慧园区前端大屏
shuishen
2025-02-12 1ef6cfda35c7c5776fa5f6f1f839caf92455df95
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: 2025-01-07 18:55:42
 * @LastEditTime: 2025-02-11 14:39:11
 * @FilePath: \bigScreen\src\router\index.js
 * @Description: 
 * 
@@ -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: {
@@ -79,13 +99,13 @@
                },
                component: () => import('@/views/pac/index.vue')
              },
              // {
              //   path: 'pd',
              //   meta: {
              //     title: '突发事件模拟'
              //   },
              //   component: () => import('@/views/pd/index.vue')
              // },
              {
                path: 'pd',
                meta: {
                  title: '突发事件模拟'
                },
                component: () => import('@/views/pd/index.vue')
              },
            ]
          },