You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
661 B

  1. import { $t } from "@/plugins/i18n";
  2. const Layout = () => import("@/layout/index.vue");
  3. export default [
  4. {
  5. path: "/login",
  6. name: "Login",
  7. component: () => import("@/views/login/index.vue"),
  8. meta: {
  9. title: $t("menus.hslogin"),
  10. showLink: false,
  11. rank: 101
  12. }
  13. },
  14. {
  15. path: "/redirect",
  16. component: Layout,
  17. meta: {
  18. icon: "homeFilled",
  19. title: $t("menus.hshome"),
  20. showLink: false,
  21. rank: 102
  22. },
  23. children: [
  24. {
  25. path: "/redirect/:path(.*)",
  26. name: "Redirect",
  27. component: () => import("@/layout/redirect.vue")
  28. }
  29. ]
  30. }
  31. ] as Array<RouteConfigsTable>;