From 08271621c9a7096cc29a3cfeeb67b772b13a4dfd Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期三, 26 五月 2021 21:27:42 +0800
Subject: [PATCH] 事件上报页面修改

---
 src/router/routes.js |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/src/router/routes.js b/src/router/routes.js
index a27e957..ed5d92a 100644
--- a/src/router/routes.js
+++ b/src/router/routes.js
@@ -8,29 +8,31 @@
  *  access: (null) 鍙闂椤甸潰鐨勬潈闄愭暟缁勶紝褰撳墠璺敱璁剧疆鐨勬潈闄愪細褰卞搷瀛愯矾鐢�
  * }
  */
+import { mapRoutes } from '@router/map'
 // 榛樿璺宠浆璺敱
 import PipeLineIndex from '../views/baseInfoMgr/pipeline/PipeLineIndex'
 import MapTemplate from '../views/MapTemplate'
 
 // 搴旂敤涓氬姟鐩稿叧璺敱锛屾寕杞絤enu涓婄殑page
-export const routes = [{
+const mainRoutes = [{
   path: '/',
   name: 'Main',
   component: MapTemplate,
-  redirect: '/home',
+  redirect: '/mapTemplate',
   children: [{
-    path: 'home',
-    name: 'Home',
-    meta: {
-      title: '棣栭〉'
-    },
-    component: MapTemplate
-  }, {
     path: 'baseInfoMgr/pipeLine',
     name: 'baseInfoMgr',
     component: PipeLineIndex,
     meta: {
       title: '鍩虹鏁版嵁缁存姢'
     }
+  }, {
+    path: '/mapTemplate',
+    name: 'mapTemplate',
+    component: MapTemplate,
+    meta: {
+      title: '鍩虹鍦板浘'
+    }
   }]
 }]
+export const routes = [...mainRoutes, ...mapRoutes]

--
Gitblit v1.8.0