This commit is contained in:
Pan
2017-04-25 13:53:49 +08:00
parent 20f1d54768
commit 308b5f6124
5 changed files with 105 additions and 37 deletions

View File

@@ -18,6 +18,9 @@ import authRedirect from '../views/login/authredirect';
import sendPWD from '../views/login/sendpwd';
import reset from '../views/login/reset';
/* Introduction*/
const Introduction = resolve => require(['../views/introduction/index'], resolve);
/* components*/
const componentsIndex = resolve => require(['../views/components/index'], resolve);
const Tinymce = resolve => require(['../views/components/tinymce'], resolve);
@@ -84,11 +87,19 @@ export default new Router({
redirect: '/dashboard',
name: '首页',
hidden: true,
children: [{ path: 'dashboard', component: dashboard }]
},
{
path: '/introduction',
component: Layout,
redirect: '/introduction/index',
name: '简述',
icon: 'xinrenzhinan',
noDropdown: true,
children: [
{ path: 'dashboard', component: dashboard }
{ path: 'index', component: Introduction, name: '简述' }
]
},
{
path: '/permission',
component: Layout,