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

const route = [
    {
        path: '/riskModule',
        redirect: '/riskModule/firstLevelRiskControl/index',
        component: Layout,
        meta: { title: '风控模块', icon: 'iconfont icon-jianguanfengkong' },
        children: [
            {
                path: 'riskControlConfig/index',
                name: 'RiskControlConfig',
                component: createNameComponent(() => import('@/views/main/riskModule/riskControlConfig.vue')),
                meta: { title: '风控模块' },
            },
        ],
    }
]

export default route