text: const data = [
    {
      path: '/',
      component: 'Layout',
      redirect: 'index',
      children: [
        {
          path: 'index',
          name: 'Index',
          component: '@/views/index/index',
          meta: {
            title: '首页',
            icon: 'home',
            affix: true,
          },
        },
      ],
    },
    {
      path: '/error',
      component: 'EmptyLayout',
      redirect: 'noRedirect',
      name: 'Error',
      meta: { title: '错误页', icon: 'bug' },
      children: [
        {
          path: '401',
          name: 'Error401',
          component: '@/views/401',
          meta: { title: '401' },
        },
        {
          path: '404',
          name: 'Error404',
          component: '@/views/404',
          meta: { title: '404' },
        },
      ],
    },
  ]
  module.exports = [
    {
      url: '/menu/navigate',
      type: 'post',
      response() {
        return { code: 200, msg: 'success', data: data }
      },
    },
  ]
  