// 咨询管理路由
export default {
  path: '/consult',
  component: 'Layout',
  hidden: false,
  redirect: 'noRedirect',
  name: 'Consult',
  meta: {
    title: '咨询管理',
    icon: 'documentation'
  },
  children: [
    {
      path: 'index',
      component: 'consult/index',
      name: 'ConsultList',
      meta: { title: '咨询列表', icon: 'list' }
    },
    {
      path: 'add',
      component: 'consult/add',
      name: 'ConsultAdd',
      meta: { title: '添加文章', activeMenu: '/consult/index' },
      hidden: true
    },
    {
      path: 'add/:id',
      component: 'consult/add',
      name: 'ConsultEdit',
      meta: { title: '编辑文章', activeMenu: '/consult/index' },
      hidden: true
    }
  ]
}