付延余
2022-04-09 5ba9e720110c486f8c4354348a9c776d19e74672
src/router/router.js
@@ -15,6 +15,9 @@
          name: 'jiuyeAndChuangye',
          children: [
           { path: '/workStatistics', meta: {title: '就业创业'}, name: 'workStatistics',  component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue')},
           { path: '/chuangyeDanbaoDaikuan', meta: {title: '创业担保贷款'}, name: 'chuangyeDanbaoDaikuan',  component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue')},
           { path: '/jiuyeQingkuang', meta: {title: '就业情况'}, name: 'jiuyeQingkuang',  component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/jiuyeQingkuang.vue')},
           { path: '/biyeshengStatistics', meta: {title: '毕业生统计'}, name: 'biyeshengStatistics',  component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/biyeshengStatistics.vue')},
         ]
        },
        {
@@ -24,26 +27,27 @@
          name: 'shehuiBaozhang',
          children: [
            { path: '/shehuiBaoxian', meta: {title:'社会保障'}, name: 'shehuiBaoxian', component: () => import('@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shehuiBaoxian.vue')},
            { path: '/shebaoShouzhiZongbiao', meta: {title:'社保收支总表'}, name: 'shebaoShouzhiZongbiao', component: () => import('@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue')},
          ]
        }
    ]
}
const login = {
    path: '/login',
    component: () => import('@/pages/login.vue'),
    meta: {
        title: `后台登陆`,
    }
  path: '/login',
  component: () => import('@/pages/login.vue'),
  meta: {
    title: `后台登陆`,
  }
}
const NotFound = {
    path: '/404',
    component: () => import('@/error_pages/404.vue'),
    meta: {
        title: "404 | 啊哦~ 你所访问的页面不存在",
    }
  path: '/404',
  component: () => import('@/error_pages/404.vue'),
  meta: {
    title: "404 | 啊哦~ 你所访问的页面不存在",
  }
}
export const routers = [
    indexRouter,
    // login,
    // NotFound
  indexRouter,
  login,
  // NotFound
]