|  | @@ -35,6 +35,7 @@ router.beforeEach(async (to, from, next) => {
 | 
											
												
													
														|  |        // 判断企业路由和个人路由,防止互串
 |  |        // 判断企业路由和个人路由,防止互串
 | 
											
												
													
														|  |        if (!type) { removeToken(); next(`/login?redirect=${to.fullPath}`) }
 |  |        if (!type) { removeToken(); next(`/login?redirect=${to.fullPath}`) }
 | 
											
												
													
														|  |        else if (type === 'enterprise' && to.meta?.loginType === 'noLogin') next({ path: `/${type}` })
 |  |        else if (type === 'enterprise' && to.meta?.loginType === 'noLogin') next({ path: `/${type}` })
 | 
											
												
													
														|  | 
 |  | +      else if (type === 'personal' && to.meta?.loginType === 'noLogin') next()
 | 
											
												
													
														|  |        else if (to.meta?.loginType === type) next()
 |  |        else if (to.meta?.loginType === type) next()
 | 
											
												
													
														|  |        else next({ path: `/${type}` })
 |  |        else next({ path: `/${type}` })
 | 
											
												
													
														|  |        // next()
 |  |        // next()
 |