彭宇 2 년 전
부모
커밋
f40b33e6e3
1개의 변경된 파일17개의 추가작업 그리고 9개의 파일을 삭제
  1. 17 9
      src/router/index.js

+ 17 - 9
src/router/index.js

@@ -39,7 +39,7 @@ export const constantRoutes = [{
 		name: 'forest',
 		component: () => import('@/views/forest'),
 		meta: {
-			title: '林业分中心'
+			title: '林业云图'
 		}
 	},
 	{
@@ -67,14 +67,6 @@ export const constantRoutes = [{
 			title: '灾后评估'
 		}
 	},
-  // {
-	// 	path: '/animal',
-	// 	name: 'animal',
-	// 	component: () => import('@/views/animal'),
-	// 	meta: {
-	// 		title: '动物保护'
-	// 	}
-	// },
   {
 		path: '/leader',
 		name: 'leader',
@@ -90,6 +82,22 @@ export const constantRoutes = [{
 			title: '植树造林'
 		}
 	},
+  {
+    path: '/',
+    name: '',
+    component: () => import('@/views/animal'),
+    meta: {
+      title: '动物保护'
+    }
+  },
+  {
+    path: '/',
+    name: '',
+    component: () => import('@/views/animal'),
+    meta: {
+      title: '珍惜古树'
+    }
+  },
 ]