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
728 B

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