able.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import { $t } from "/@/plugins/i18n";
  2. const Layout = () => import("/@/layout/index.vue");
  3. const ableRouter = {
  4. path: "/able",
  5. name: "components",
  6. component: Layout,
  7. redirect: "/able/menuTree",
  8. meta: {
  9. icon: "ubuntu-fill",
  10. title: $t("menus.hsAble"),
  11. i18n: true,
  12. rank: 3
  13. },
  14. children: [
  15. {
  16. path: "/able/menuTree",
  17. name: "reMenuTree",
  18. component: () => import("/@/views/able/menu-tree.vue"),
  19. meta: {
  20. title: $t("menus.hsMenuTree"),
  21. i18n: true
  22. }
  23. },
  24. {
  25. path: "/able/watermark",
  26. name: "reWatermark",
  27. component: () => import("/@/views/able/watermark.vue"),
  28. meta: {
  29. title: $t("menus.hsWatermark"),
  30. i18n: true
  31. }
  32. },
  33. {
  34. path: "/able/print",
  35. name: "rePrint",
  36. component: () => import("/@/views/able/print.vue"),
  37. meta: {
  38. title: $t("menus.hsPrint"),
  39. i18n: true
  40. }
  41. },
  42. {
  43. path: "/able/iconSelect",
  44. name: "reIconSelect",
  45. component: () => import("/@/views/able/icon-select.vue"),
  46. meta: {
  47. title: $t("menus.hsIconSelect"),
  48. i18n: true
  49. }
  50. }
  51. ]
  52. };
  53. export default ableRouter;