result.ts 653 B

123456789101112131415161718192021222324252627282930
  1. import { $t } from "@/plugins/i18n";
  2. import { result } from "@/router/enums";
  3. export default {
  4. path: "/result",
  5. redirect: "/result/success",
  6. meta: {
  7. icon: "checkboxCircleLine",
  8. title: $t("menus.hsResult"),
  9. rank: result
  10. },
  11. children: [
  12. {
  13. path: "/result/success",
  14. name: "Success",
  15. component: () => import("@/views/result/success.vue"),
  16. meta: {
  17. title: $t("menus.hsSuccess")
  18. }
  19. },
  20. {
  21. path: "/result/fail",
  22. name: "Fail",
  23. component: () => import("@/views/result/fail.vue"),
  24. meta: {
  25. title: $t("menus.hsFail")
  26. }
  27. }
  28. ]
  29. } satisfies RouteConfigsTable;