You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
851 B
39 lines
851 B
/* Layout */
|
|
import Layout from '../views/layout/Layout'
|
|
const _import = require('./_import_' + process.env.NODE_ENV)
|
|
|
|
export default {
|
|
routes: [
|
|
{
|
|
path: '/my/work',
|
|
component: Layout,
|
|
name: '我的工作台',
|
|
meta: {
|
|
title: '我的工作台',
|
|
icon: 'task'
|
|
},
|
|
iconCls: 'fa el-icon-menu',
|
|
// leaf: true,
|
|
children: [
|
|
{
|
|
path: 'index',
|
|
component: _import('myWork/my/index'),
|
|
name: '我的',
|
|
meta: {
|
|
title: '我的',
|
|
icon: 'component'
|
|
}
|
|
},
|
|
{
|
|
path: 'updateUserInfo',
|
|
component: _import('myWork/set/index'),
|
|
name: '账户设置',
|
|
meta: {
|
|
title: '设置',
|
|
icon: 'component'
|
|
}
|
|
},
|
|
]
|
|
}
|
|
]
|
|
}
|