|
@@ -29,12 +29,13 @@ import Layout from '@/layout'
|
|
|
*/
|
|
|
|
|
|
// 公共路由(可视化首页头部链接)
|
|
|
-export const constantRoutes = [{
|
|
|
+export const constantRoutes = [
|
|
|
+ {
|
|
|
path: '/',
|
|
|
redirect: 'forest',
|
|
|
},
|
|
|
{
|
|
|
- //生态中心
|
|
|
+ //生态云图
|
|
|
path: '/forest',
|
|
|
name: 'forest',
|
|
|
component: () => import('@/views/forest'),
|
|
@@ -62,7 +63,7 @@ export const constantRoutes = [{
|
|
|
}, {
|
|
|
path: '/',
|
|
|
name: '',
|
|
|
- component: () => import('@/views/'),
|
|
|
+ component: () => import('@/views/monitor'),
|
|
|
meta: {
|
|
|
title: '土壤墒情'
|
|
|
}
|
|
@@ -70,14 +71,14 @@ export const constantRoutes = [{
|
|
|
{
|
|
|
path: '/',
|
|
|
name: '',
|
|
|
- component: () => import('@/views/'),
|
|
|
+ component: () => import('@/views/monitor'),
|
|
|
meta: {
|
|
|
title: '污染源'
|
|
|
}
|
|
|
}, {
|
|
|
path: '/',
|
|
|
name: '',
|
|
|
- component: () => import('@/views/'),
|
|
|
+ component: () => import('@/views/monitor'),
|
|
|
meta: {
|
|
|
title: '水质环境'
|
|
|
}
|
|
@@ -85,7 +86,7 @@ export const constantRoutes = [{
|
|
|
{
|
|
|
path: '/',
|
|
|
name: '',
|
|
|
- component: () => import('@/views/'),
|
|
|
+ component: () => import('@/views/monitor'),
|
|
|
meta: {
|
|
|
title: '大气环境'
|
|
|
}
|