From a2cf1dafa47139ef92135376db24ece72d2b51d2 Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期一, 17 五月 2021 17:19:41 +0800
Subject: [PATCH] 管线分析
---
src/router/routes.js | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/router/routes.js b/src/router/routes.js
index d9689c4..ed5d92a 100644
--- a/src/router/routes.js
+++ b/src/router/routes.js
@@ -8,30 +8,31 @@
* access: (null) 鍙闂椤甸潰鐨勬潈闄愭暟缁勶紝褰撳墠璺敱璁剧疆鐨勬潈闄愪細褰卞搷瀛愯矾鐢�
* }
*/
+import { mapRoutes } from '@router/map'
// 榛樿璺宠浆璺敱
-import App from '../App'
import PipeLineIndex from '../views/baseInfoMgr/pipeline/PipeLineIndex'
import MapTemplate from '../views/MapTemplate'
// 搴旂敤涓氬姟鐩稿叧璺敱锛屾寕杞絤enu涓婄殑page
-export const routes = [{
+const mainRoutes = [{
path: '/',
name: 'Main',
- component: App,
- redirect: '/home',
+ component: MapTemplate,
+ 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