| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 | 
							- const menuData =
 
- [
 
-   {
 
-     'id': 1,
 
-     'path': '/console',
 
-     'redirect': 'noredirect',
 
-     'component': 'Layout',
 
-     'name': 'console',
 
-     'title': '系统管理',
 
-     'icon': 'form',
 
-     'parentId': -1,
 
-     'children': [
 
-       {
 
-         'children': [],
 
-         'id': 7,
 
-         'name': 'user',
 
-         'component': 'console/user/index',
 
-         'title': '用户管理',
 
-         'icon': 'user',
 
-         'parentId': 1,
 
-         'path': 'user'
 
-       },
 
-       {
 
-         'children': [],
 
-         'name': 'menu',
 
-         'component': 'console/menu/index',
 
-         'id': 8,
 
-         'title': '菜单管理',
 
-         'icon': 'table',
 
-         'parentId': 1,
 
-         'path': 'menu'
 
-       },
 
-       {
 
-         'children': [],
 
-         'name': 'role',
 
-         'component': 'console/role/index',
 
-         'id': 9,
 
-         'title': '角色管理',
 
-         'icon': 'table',
 
-         'parentId': 1,
 
-         'path': 'role'
 
-       },
 
-       {
 
-         'children': [],
 
-         'name': 'dict',
 
-         'component': 'console/dict/index',
 
-         'id': 10,
 
-         'title': '字典管理',
 
-         'icon': 'table',
 
-         'parentId': 1,
 
-         'path': 'dict'
 
-       },
 
-       {
 
-         'children': [],
 
-         'name': 'dept',
 
-         'component': 'console/dept/index',
 
-         'id': 11,
 
-         'title': '部门管理',
 
-         'icon': 'table',
 
-         'parentId': 1,
 
-         'path': 'dept'
 
-       }
 
-     ]
 
-   },
 
-   {
 
-     'id': 22,
 
-     'name': 'myiframe',
 
-     'component': 'Iframe',
 
-     'redirect': 'noredirect',
 
-     'title': '第三方系统',
 
-     'icon': 'link',
 
-     'path': '/myiframe',
 
-     'parentId': -1,
 
-     'children': [
 
-       {
 
-         'id': 23,
 
-         'children': [],
 
-         'name': 'wechat',
 
-         'component': 'Iframe',
 
-         'title': '微信',
 
-         'icon': 'wechat',
 
-         'parentId': 22,
 
-         'path': 'wechatUrl?src=https://pc.weixin.qq.com/&name=微信'
 
-       },
 
-       {
 
-         'id': 24,
 
-         'children': [],
 
-         'name': 'qq',
 
-         'component': 'Iframe',
 
-         'title': '腾讯QQ',
 
-         'icon': 'qq',
 
-         'parentId': 22,
 
-         'path': 'qqUrl?src=https://im.qq.com/index.shtml&name=腾讯QQ'
 
-       }
 
-     ]
 
-   }
 
- ]
 
- export default [
 
-   {
 
-     url: '/authdata/rolemenus',
 
-     type: 'get',
 
-     response: _ => {
 
-       return {
 
-         code: 200,
 
-         data: menuData
 
-       }
 
-     }
 
-   }
 
- ]
 
 
  |