| 
					
				 | 
			
			
				@@ -2,8 +2,12 @@ import personal from './personal' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import enterprise from './enterprise' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import recruit from './recruit' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import Layout from '@/layout' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { setLoginType } from '@/utils/loginType' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+setLoginType(recruit, 'noLogin') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+setLoginType(personal, 'personal') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+setLoginType(enterprise, 'enterprise') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-// const type  = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const routeArray = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   ...recruit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   ...personal, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -18,7 +22,7 @@ const remainingRouter = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     meta: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       hidden: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       title: '登录/注册', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      noLogin: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      loginType: 'noLogin' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -31,7 +35,7 @@ const remainingRouter = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         component: () => import('@/views/login/components/userAgreement.vue'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         meta: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           title: '用户协议', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          noLogin: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          loginType: 'noLogin' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ] 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -46,7 +50,7 @@ const remainingRouter = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         component: () => import('@/views/login/components/privacyPolicy.vue'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         meta: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           title: '隐私政策', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          noLogin: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          loginType: 'noLogin' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ] 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -56,19 +60,20 @@ const remainingRouter = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     component: Layout, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     redirect: '/home', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     children: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   path: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   component: () => import('@/views/Home/index'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   meta: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //     title: '首页' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        path: '/personal', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        redirect: '/home', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        meta: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          title: '首页', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          loginType: 'noLogin' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         path: '/home', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         component: () => import('@/views/Home/index'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         meta: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           title: '首页', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          noLogin: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          loginType: 'noLogin' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ] 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -80,7 +85,7 @@ const remainingRouter = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     meta: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       hidden: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       title: '注册企业', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      noLogin: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      loginType: 'noLogin' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   ...routeArray 
			 |