portal.js 957 Bytes
const portalRouter = {
    path: '/portal',
    name: 'portal',
    exact: true,
    meta: {
        icon: 'profile',
        title: '门户管理'
    },
    component: { render: h => h("router-view") },
    children: [
        {
            path: '/portal/carouselManage',
            name: 'carouselManage',
            exact: true,
            meta: {
                title: '轮播图管理'
            },
            component: () => import(/* webpackChunkName: "carouselManage" */ '@/views/portalManage/carouselManage/index.vue'), // 轮播图管理
        },
        {
            path: '/portal/scrollBarManage',
            name: 'scrollBarManage',
            exact: true,
            meta: {
                title: '滚动条管理'
            },
            component: () => import(/* webpackChunkName: "scrollBarManage" */ '@/views/portalManage/scrollBarManage/index.vue'), // 滚动条管理
        }
    ]
}

export default portalRouter;