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

const route = [
    {
        path: '/agentModule',
        redirect: '/agentModule/index',
        component: Layout,
        meta: { title: '代理模块', icon: 'sfont system-component' },
        children: [
            {
                path: '/agentModule/index',
                name: 'AgentModuleIndex',
                component: createNameComponent(() => import('@/views/main/agentModule/index.vue')),
                meta: { title: '代理模块' },
            },
        ],
    }
]

export default route