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.

37 lines
720 B

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