From 51a71ffc28f134beeaa15dfb7ec70dfc7a1de7b2 Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期三, 14 四月 2021 12:49:46 +0800 Subject: [PATCH] table数据 --- 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