import Layout from '@/layout/index.vue'
import { createNameComponent } from '../createNode'

const route = [
    {
        path: '/outBagModule',
        redirect: '/outBagModule/channelTypeAdmin/index',
        component: Layout,
        meta: { title: '出包管理', icon: 'iconfont icon-yingyong' },
        children: [
            {
                path: 'channelTypeAdmin/index',
                name: 'ChannelTypeAdmin',
                component: createNameComponent(() => import('@/views/main/outBagModule/channelTypeAdmin.vue')),
                meta: { title: '出包渠道' },
            },
           /*  {
                path: 'ChannelPromotion/index',
                name: 'ChannelPromotion',
                component: createNameComponent(() => import('@/views/main/outBagModule/channelPromotion.vue')),
                meta: { title: '渠道推广' },
            }, */
            {
                path: 'appAdmin/index',
                name: 'AppAdmin',
                component: createNameComponent(() => import('@/views/main/outBagModule/appAdmin.vue')),
                meta: { title: '应用管理' },
            }
        ],
    }
]

export default route