whao 3 年之前
父節點
當前提交
43fe70329e
共有 1 個文件被更改,包括 11 次插入3 次删除
  1. 11 3
      src/router/index.js

+ 11 - 3
src/router/index.js

@@ -90,9 +90,9 @@ export const constantRoutes = [{
 			title: '林长制'
 		}
 	}, {
-		path: '/',
-		name: '',
-		component: () => import('@/views/monitor'),
+		path: '/afforestation',
+		name: 'afforestation',
+		component: () => import('@/views/afforestation'),
 		meta: {
 			title: '植树造林'
 		}
@@ -167,6 +167,14 @@ export const constantRoutesNew = [{
 		}
 	},
 	{
+		path: '/afforestation',
+		name: 'afforestation',
+		component: () => import('@/views/afforestation'),
+		meta: {
+			title: '植树造林'
+		}
+	},
+	{
 		path: '/login',
 		component: () => import('@/views/system/login'),
 		hidden: true