From c76b6b7d56a681f4c0e62764fd922f90b4df03dd Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 20 Feb 2025 20:44:21 +0800
Subject: [PATCH] 安义基础配置调整

---
 src/router/index.js |   40 ++++++++++++++++++++++++++++++----------
 1 files changed, 30 insertions(+), 10 deletions(-)

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

--
Gitblit v1.9.3