reactor:refine code&&demo

This commit is contained in:
Pan
2017-11-02 17:58:35 +08:00
parent ac5d087ea4
commit bb1d939a94
18 changed files with 138 additions and 139 deletions

View File

@@ -26,15 +26,14 @@ export const constantRouterMap = [
{ path: '/401', component: _import('errorPage/401'), hidden: true },
{
path: '/',
path: '',
component: Layout,
redirect: '/dashboard',
hidden: true,
redirect: 'dashboard',
children: [{
path: 'dashboard',
component: _import('dashboard/index'),
name: 'dashboard',
meta: { title: '首页' }
meta: { title: '首页', icon: 'dashboard' }
}]
},