WXL (wul)
6 天以前 a5cba9ab040f6f97558046885dce3017f9bab7e9
src/router/index.js
@@ -61,6 +61,11 @@
    component: () => import("@/views/outsideChainwtnew"),
    hidden: true,
  },
    {
    path: "/SfRelay",
    component: () => import("@/views/SatisfactionRelay"),
    hidden: true,
  },
  {
    path: "/xj",
    component: () => import("@/views/outsideChainxjnew"),
@@ -106,38 +111,38 @@
    component: () => import("@/views/error/401"),
    hidden: true,
  },
  // {
  //   path: "",
  //   component: Layout,
  //   redirect: "index",
  //   children: [
  //     {
  //       path: "index",
  //       component: () => import("@/views/index"),
  //       name: "Index",
  //       meta: {
  //         title: "首页",
  //         icon: "dashboard",
  //         affix: true,
  //         roles: ["admin", "sysadmin"],
  //       },
  //     },
  //   ],
  // },
  // {
  //   path: "/user",
  //   component: Layout,
  //   hidden: true,
  //   redirect: "noredirect",
  //   children: [
  //     {
  //       path: "profile",
  //       component: () => import("@/views/system/user/profile/index"),
  //       name: "Profile",
  //       meta: { title: "个人中心", icon: "user" },
  //     },
  //   ],
  // },
  {
    path: "",
    component: Layout,
    redirect: "index",
    children: [
      {
        path: "index",
        component: () => import("@/views/index"),
        name: "Index",
        meta: {
          title: "首页",
          icon: "dashboard",
          affix: true,
          roles: ["admin", "sysadmin"],
        },
      },
    ],
  },
  {
    path: "/user",
    component: Layout,
    hidden: true,
    redirect: "noredirect",
    children: [
      {
        path: "profile",
        component: () => import("@/views/system/user/profile/index"),
        name: "Profile",
        meta: { title: "个人中心", icon: "user" },
      },
    ],
  },
];
// 动态路由,基于用户权限动态去加载
@@ -211,7 +216,8 @@
        meta: { title: "修改生成配置", activeMenu: "/tool/gen" },
      },
    ],
  } /*,
  },
 /*,
  {
    path: '/smartor/archive',
    component: Layout,