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.

36 lines
710 B

  1. import { $t } from "/@/plugins/i18n";
  2. const Layout = () => import("/@/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. component: Layout,
  18. meta: {
  19. icon: "home-filled",
  20. title: $t("menus.hshome"),
  21. i18n: true,
  22. showLink: false,
  23. rank: 104
  24. },
  25. children: [
  26. {
  27. path: "/redirect/:path(.*)",
  28. name: "redirect",
  29. component: () => import("/@/layout/redirect.vue")
  30. }
  31. ]
  32. }
  33. ];
  34. export default remainingRouter;