菜单微调

This commit is contained in:
冷冷 2018-02-10 13:05:02 +08:00
parent 2449040764
commit ba916e3b08
2 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@ export function fetchAll() {
export function fetchUserTree() {
return request({
url: '/admin/menu/userTree/',
url: '/admin/menu/userTree',
method: 'get'
})
}

View File

@ -53,11 +53,11 @@ export const asyncRouterMap = [
},
children: [
{ menuId: 2, path: 'user', component: _import('admin/user/index'), name: '用户管理', meta: { title: '用户管理', icon: 'user' }},
{ menuId: 3, path: 'role', component: _import('admin/role/index'), name: '角色管理', meta: { title: '角色管理', icon: 'role' }},
{ menuId: 7, path: 'dept', component: _import('admin/dept/index'), name: '部门管理', meta: { title: '部门管理', icon: 'dept' }},
{ menuId: 4, path: 'menu', component: _import('admin/menu/index'), name: '菜单管理', meta: { title: '菜单管理', icon: 'tree' }},
{ menuId: 5, path: 'dict', component: _import('admin/dict/index'), name: '字典管理', meta: { title: '字典管理', icon: 'dict' }},
{ menuId: 6, path: 'log', component: _import('admin/log/index'), name: '日志管理', meta: { title: '日志管理', icon: 'log' }}
{ menuId: 3, path: 'menu', component: _import('admin/menu/index'), name: '菜单管理', meta: { title: '菜单管理', icon: 'tree' }},
{ menuId: 4, path: 'role', component: _import('admin/role/index'), name: '角色管理', meta: { title: '角色管理', icon: 'role' }},
{ menuId: 5, path: 'dept', component: _import('admin/dept/index'), name: '部门管理', meta: { title: '部门管理', icon: 'dept' }},
{ menuId: 6, path: 'dict', component: _import('admin/dict/index'), name: '字典管理', meta: { title: '字典管理', icon: 'dict' }},
{ menuId: 7, path: 'log', component: _import('admin/log/index'), name: '日志管理', meta: { title: '日志管理', icon: 'log' }}
]
},
{