From 1ef6cfda35c7c5776fa5f6f1f839caf92455df95 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 12 Feb 2025 19:56:00 +0800
Subject: [PATCH] 免登录处理

---
 src/router/index.js |   38 +++++++++++++++++++++++++++++---------
 1 files changed, 29 insertions(+), 9 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 6020d1c..eb07a36 100644
--- a/src/router/index.js
+++ b/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')
+              },
             ]
           },
 

--
Gitblit v1.9.3