|  | @ -198,7 +198,6 @@ router.beforeEach((to, from, next) => { | 
		
	
		
			
				|  |  |       // window.SITE_CONFIG['menuList'] = res.data
 |  |  |       // window.SITE_CONFIG['menuList'] = res.data
 | 
		
	
		
			
				|  |  |       const menuListChild = res.data.filter(item => item.children.length > 0) |  |  |       const menuListChild = res.data.filter(item => item.children.length > 0) | 
		
	
		
			
				|  |  |       fnAddDynamicMenuRoutes(JSON.parse(JSON.stringify(res.data)), menuListChild.length) |  |  |       fnAddDynamicMenuRoutes(JSON.parse(JSON.stringify(res.data)), menuListChild.length) | 
		
	
		
			
				|  |  | 
 |  |  |  | 
		
	
		
			
				|  |  |       next({ ...to, replace: true }) |  |  |       next({ ...to, replace: true }) | 
		
	
		
			
				|  |  |     }).catch(() => { |  |  |     }).catch(() => { | 
		
	
		
			
				|  |  |       return next({ name: 'login' }) |  |  |       return next({ name: 'login' }) | 
		
	
	
		
			
				|  | @ -252,7 +251,7 @@ function loginByDocId(doctorId, next, to) { | 
		
	
		
			
				|  |  | } |  |  | } | 
		
	
		
			
				|  |  | function loginByUserId(userIdNumber, next, to) { |  |  | function loginByUserId(userIdNumber, next, to) { | 
		
	
		
			
				|  |  |   const params = { |  |  |   const params = { | 
		
	
		
			
				|  |  |     userIdNumber: userIdNumber |  |  |  | 
		
	
		
			
				|  |  |  |  |  |     userIdNumber: userIdNumber.slice(2) | 
		
	
		
			
				|  |  |   } |  |  |   } | 
		
	
		
			
				|  |  |   http.post('/loginByPidNum', params).then(({ data: res }) => { |  |  |   http.post('/loginByPidNum', params).then(({ data: res }) => { | 
		
	
		
			
				|  |  |     if (res.code !== 0) { |  |  |     if (res.code !== 0) { | 
		
	
	
		
			
				|  | 
 |