| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- const Layout = () => import("@/layout/index.vue")
- export const staticRoutes = [
- {
- path: "/notfound",
- name: "notfound",
- hidden: true,
- component: () => import("@/views/404.vue")
- },
- {
- path: "/redirect",
- component: Layout,
- hidden: true,
- children: [{
- path: "/redirect/:path(.*)",
- component: () => import("@/views/redirect/index.vue")
- }]
- },
- {
- path: "/login",
- name: "login",
- hidden: true,
- component: () => import("@/views/login/index.vue")
- },
- {
- path: "/noPermission",
- name: "noPermission",
- hidden: true,
- component: () => import("@/views/error/noPermission.vue")
- },
- {
- path: "/yh",
- name: "yhlogin",
- hidden: true,
- component: () => import("@/otherLogin/bx.vue"),
- },
- {
- path: "/ssoyh",
- name: "ssoyh",
- hidden: true,
- component: () => import("@/otherLogin/ssoSgzl.vue"),
- },
- {
- path: "",
- component: Layout,
- redirect: "/index",
- alwaysShow: false,
- children: [
- {
- path: "/index",
- name: "Index",
- component: () => import("@/views/home/index.vue"),
- alwaysShow: false,
- meta: {
- title: "首页",
- icon: "ep-home-filled",
- affix: true
- },
- children: []
- }, {
- path: "/policyDetail",
- name: "homePolicyDetail",
- component: () => import("@/views/home/policyDetail.vue"),
- alwaysShow: false,
- hidden: true,
- meta: {
- title: "政策分享详情",
- affix: false
- },
- children: []
- }, {
- path: "/workflow/:page*",
- name: "workflow",
- component: () => import("@/micro/index.vue"),
- alwaysShow: false,
- hidden: true,
- meta: {
- title: "微前端",
- icon: "ep-Cpu",
- affix: false,
- micro: true //底座必须加
- },
- children: []
- }, {
- path: "/userInfo",
- name: "userInfo",
- component: () => import("@/views/system/userInfo.vue"),
- alwaysShow: false,
- hidden: true,
- meta: {
- title: "个人信息",
- affix: false
- },
- children: []
- }
- ]
- }
- ]
|