merge master

This commit is contained in:
花裤衩
2019-10-12 18:26:30 +08:00
9 changed files with 82 additions and 13 deletions

View File

@@ -71,9 +71,9 @@ export const constantRoutes = [
hidden: true
},
{
path: '',
path: '/',
component: Layout,
redirect: 'dashboard',
redirect: '/dashboard',
children: [
{
path: 'dashboard',
@@ -396,6 +396,7 @@ export const asyncRoutes = [
]
},
// 404 page must be placed at the end !!!
{ path: '*', redirect: '/404', hidden: true }
]