able.ts 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. import { $t } from "/@/plugins/i18n";
  2. const Layout = () => import("/@/layout/index.vue");
  3. const ableRouter = {
  4. path: "/able",
  5. component: Layout,
  6. redirect: "/able/watermark",
  7. meta: {
  8. icon: "ubuntu-fill",
  9. title: $t("menus.hsAble"),
  10. i18n: true,
  11. rank: 4
  12. },
  13. children: [
  14. {
  15. path: "/able/watermark",
  16. name: "reWatermark",
  17. component: () => import("/@/views/able/watermark.vue"),
  18. meta: {
  19. title: $t("menus.hsWatermark"),
  20. i18n: true
  21. }
  22. },
  23. {
  24. path: "/able/print",
  25. name: "rePrint",
  26. component: () => import("/@/views/able/print.vue"),
  27. meta: {
  28. title: $t("menus.hsPrint"),
  29. i18n: true
  30. }
  31. },
  32. {
  33. path: "/able/iconSelect",
  34. name: "reIconSelect",
  35. component: () => import("/@/views/able/icon-select.vue"),
  36. meta: {
  37. title: $t("menus.hsIconSelect"),
  38. i18n: true
  39. }
  40. },
  41. {
  42. path: "/able/timeline",
  43. name: "reTimeline",
  44. component: () => import("/@/views/able/timeline.vue"),
  45. meta: {
  46. title: $t("menus.hsTimeline"),
  47. i18n: true
  48. }
  49. },
  50. {
  51. path: "/able/menuTree",
  52. name: "reMenuTree",
  53. component: () => import("/@/views/able/menu-tree.vue"),
  54. meta: {
  55. title: $t("menus.hsMenuTree"),
  56. i18n: true
  57. }
  58. },
  59. {
  60. path: "/able/lineTree",
  61. name: "reLineTree",
  62. component: () => import("/@/views/able/line-tree.vue"),
  63. meta: {
  64. title: $t("menus.hsLineTree"),
  65. i18n: true
  66. }
  67. },
  68. {
  69. path: "/able/antTabs",
  70. name: "reAntTabs",
  71. component: () => import("/@/views/able/ant-tabs.vue"),
  72. meta: {
  73. title: $t("menus.hsAntTabs"),
  74. i18n: true
  75. }
  76. },
  77. {
  78. path: "/able/antAnchor",
  79. name: "reAntAnchor",
  80. component: () => import("/@/views/able/ant-anchor.vue"),
  81. meta: {
  82. title: $t("menus.hsAntAnchor"),
  83. i18n: true
  84. }
  85. },
  86. {
  87. path: "/able/antTreeSelect",
  88. name: "reAntTreeSelect",
  89. component: () => import("/@/views/able/ant-treeSelect.vue"),
  90. meta: {
  91. title: $t("menus.hsAntTreeSelect"),
  92. i18n: true
  93. }
  94. },
  95. {
  96. path: "/able/debounce",
  97. name: "reDebounce",
  98. component: () => import("/@/views/able/debounce.vue"),
  99. meta: {
  100. title: $t("menus.hsDebounce"),
  101. i18n: true
  102. }
  103. },
  104. {
  105. path: "/able/barcode",
  106. name: "reBarcode",
  107. component: () => import("/@/views/able/barcode.vue"),
  108. meta: {
  109. title: $t("menus.hsBarcode"),
  110. i18n: true
  111. }
  112. },
  113. {
  114. path: "/able/qrcode",
  115. name: "reQarcode",
  116. component: () => import("/@/views/able/qrcode.vue"),
  117. meta: {
  118. title: $t("menus.hsQarcode"),
  119. i18n: true
  120. }
  121. }
  122. ]
  123. };
  124. export default ableRouter;