xial
This commit is contained in:
		
							parent
							
								
									1849681d65
								
							
						
					
					
						commit
						76b12328ee
					
				|  | @ -46,12 +46,7 @@ export const constantRoutes = [ | |||
|       component: () => import('@/views/dashboard/index'), | ||||
|       meta: { title: '首页', icon: 'dashboard' } | ||||
|     }] | ||||
|   }, | ||||
|   { | ||||
|     path: '/404', | ||||
|     component: () => import('@/views/404'), | ||||
|     hidden: true | ||||
|   }, | ||||
|   } | ||||
| ] | ||||
| 
 | ||||
| /** | ||||
|  | @ -247,9 +242,9 @@ export const asyncRoutes = [ | |||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     path: '/changepassword', | ||||
|     path: 'changepassword', | ||||
|     component: Layout, | ||||
|     redirect: '/changepassword', | ||||
|     redirect: 'changepassword', | ||||
|     name: 'ChangePW', | ||||
|     meta: { title: '修改密码', icon: 'tree' }, | ||||
|     hidden:true, | ||||
|  | @ -262,9 +257,7 @@ export const asyncRoutes = [ | |||
|         hidden: true | ||||
|       }, | ||||
|     ] | ||||
|   }, | ||||
|   // 404 page must be placed at the end !!!
 | ||||
|   { path: '*', redirect: '/404', hidden: true } | ||||
|   } | ||||
| ] | ||||
| 
 | ||||
| const createRouter = () => new Router({ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue