/* Layout */
import Layout from '@/layout/Layout'
export const knowledgeRouters = [{
  path: 'knowledge',
  component: Layout,
  redirect: '/knowledgeManage',
  name: 'Knowledge',
  alwaysShow: true,
  meta: {
    title: '知识库管理',
    icon: 'icon-config', // 图标
    permission: '/knowledgeManage'
  },
  children: [
    {
      path: '/knowledgeType',
      name: 'KnowledgeType',
      component: () => import('@/views/knowledgeManage/kTypeManage'),
      meta: { title: '类别管理', icon: '', permission: '/knowledge/type' }
    },
    {
      path: '/knowledgeManage',
      name: 'KnowledgeManage',
      component: () => import('@/views/knowledgeManage/knowledgeManage'),
      meta: { title: '知识管理', icon: '', permission: '/knowledge/listPage' }
    },
    {
      path: '/knowledgeCheck',
      name: 'KnowledgeCheck',
      component: () => import('@/views/knowledgeManage/knowledgeCheck'),
      meta: { title: '知识审核', icon: '', permission: '/knowledge/check' }
    }
  ]
}]
