import { resultSuccess } from '../_util'; const list = [ { children: [ { children: [], component: '/todo/todo', id: 1019, meta: { activeMenu: null, alwaysShow: false, frameSrc: '', hidden: false, icon: '', isFrame: 0, isRoot: false, noCache: false, query: '', title: '菜单1', }, name: ' ', parentId: 1018, path: 'menu1', redirect: '', }, ], component: 'MENU_LAYOUT', id: 1018, meta: { activeMenu: null, alwaysShow: false, frameSrc: '', hidden: false, icon: 'ApartmentOutlined', isFrame: 0, isRoot: false, noCache: false, query: '', title: '院内安全态势', }, name: 'Scene', parentId: -1, path: '/institute-safety', redirect: '', }, { children: [ { children: [], component: '/todo/todo', id: 1023, meta: { activeMenu: null, alwaysShow: false, frameSrc: '', hidden: false, icon: '', isFrame: 0, isRoot: false, noCache: false, query: '', title: '生产安全菜单1', }, name: 'DeviceCamera', parentId: 1022, path: 'camera', redirect: '', }, { children: [], component: '/todo/todo', id: 1024, meta: { activeMenu: null, alwaysShow: false, frameSrc: '', hidden: false, icon: '', isFrame: 0, isRoot: false, noCache: false, query: '', title: '生产安全菜单2', }, name: 'DeviceNVR', parentId: 1022, path: 'nvr', redirect: '', }, ], component: 'MENU_LAYOUT', id: 1022, meta: { activeMenu: null, alwaysShow: false, frameSrc: '', hidden: false, icon: 'CameraOutlined', isFrame: 0, isRoot: false, noCache: false, query: '', title: '生产安全', }, name: 'Device', parentId: -1, path: '/safety', redirect: '', }, ]; export default [ { url: '/eye_api_bak/api/admin/menu/getRouters', timeout: 1000, method: 'get', response: () => { return resultSuccess(list); }, }, ];