| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- import { resultSuccess } from '../_util';
- const list = [
- {
- 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: 'DisasterPrevention',
- parentId: -1,
- path: '/disaster-prevention',
- redirect: '',
- },
- ];
- export default [
- {
- url: '/eye_api_bak/api/admin/menu/getRouters',
- timeout: 1000,
- method: 'get',
- response: () => {
- return resultSuccess(list);
- },
- },
- ];
|