/*
 * @Author: WangJiaCheng
 * @Date: 2021-05-10 16:51:21
 * @LastEditors: WangJiaCheng
 * @LastEditTime: 2021-05-10 17:29:09
 * @Description:
 */
import DefaultLayout from '@/layouts/DefaultLayout/index.vue'

const page = [
  {
    path: '/page',
    component: DefaultLayout,
    redirect: '/list',
    meta: {
      title: '页面管理'
    },
    children: [
      {
        path: 'list',
        name: 'pageList',
        meta: {
          title: '页面列表'
        },
        component: () => import('@/views/Page/List/index.vue')
      },
      {
        path: 'edit/:type',
        name: 'pageEdit',
        component: () => import('@/views/Page/Edit/index.vue')
      }
    ]
  }
]

export default page
