able.ts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. rank: 4
  11. },
  12. children: [
  13. {
  14. path: "/able/watermark",
  15. name: "reWatermark",
  16. component: () => import("/@/views/able/watermark.vue"),
  17. meta: {
  18. title: $t("menus.hsWatermark")
  19. }
  20. },
  21. {
  22. path: "/able/print",
  23. name: "rePrint",
  24. component: () => import("/@/views/able/print.vue"),
  25. meta: {
  26. title: $t("menus.hsPrint")
  27. }
  28. },
  29. {
  30. path: "/able/iconSelect",
  31. name: "reIconSelect",
  32. component: () => import("/@/views/able/icon-select.vue"),
  33. meta: {
  34. title: $t("menus.hsIconSelect")
  35. }
  36. },
  37. {
  38. path: "/able/timeline",
  39. name: "reTimeline",
  40. component: () => import("/@/views/able/timeline.vue"),
  41. meta: {
  42. title: $t("menus.hsTimeline")
  43. }
  44. },
  45. {
  46. path: "/able/menuTree",
  47. name: "reMenuTree",
  48. component: () => import("/@/views/able/menu-tree.vue"),
  49. meta: {
  50. title: $t("menus.hsMenuTree")
  51. }
  52. },
  53. {
  54. path: "/able/lineTree",
  55. name: "reLineTree",
  56. component: () => import("/@/views/able/line-tree.vue"),
  57. meta: {
  58. title: $t("menus.hsLineTree")
  59. }
  60. },
  61. {
  62. path: "/able/antTabs",
  63. name: "reAntTabs",
  64. component: () => import("/@/views/able/ant-tabs.vue"),
  65. meta: {
  66. title: $t("menus.hsAntTabs")
  67. }
  68. },
  69. {
  70. path: "/able/antAnchor",
  71. name: "reAntAnchor",
  72. component: () => import("/@/views/able/ant-anchor.vue"),
  73. meta: {
  74. title: $t("menus.hsAntAnchor")
  75. }
  76. },
  77. {
  78. path: "/able/antTreeSelect",
  79. name: "reAntTreeSelect",
  80. component: () => import("/@/views/able/ant-treeSelect.vue"),
  81. meta: {
  82. title: $t("menus.hsAntTreeSelect")
  83. }
  84. },
  85. {
  86. path: "/able/debounce",
  87. name: "reDebounce",
  88. component: () => import("/@/views/able/debounce.vue"),
  89. meta: {
  90. title: $t("menus.hsDebounce")
  91. }
  92. },
  93. {
  94. path: "/able/barcode",
  95. name: "reBarcode",
  96. component: () => import("/@/views/able/barcode.vue"),
  97. meta: {
  98. title: $t("menus.hsBarcode")
  99. }
  100. },
  101. {
  102. path: "/able/qrcode",
  103. name: "reQrcode",
  104. component: () => import("/@/views/able/qrcode.vue"),
  105. meta: {
  106. title: $t("menus.hsQrcode")
  107. }
  108. },
  109. {
  110. path: "/able/cascader",
  111. name: "reCascader",
  112. component: () => import("/@/views/able/cascader.vue"),
  113. meta: {
  114. title: $t("menus.hsCascader")
  115. }
  116. },
  117. {
  118. path: "/able/swiper",
  119. name: "reSwiper",
  120. component: () => import("/@/views/able/swiper.vue"),
  121. meta: {
  122. title: $t("menus.hsSwiper")
  123. }
  124. },
  125. {
  126. path: "/able/virtualList",
  127. name: "reVirtualList",
  128. component: () => import("/@/views/able/virtual-list/index.vue"),
  129. meta: {
  130. title: $t("menus.hsVirtualList")
  131. }
  132. }
  133. ]
  134. };
  135. export default ableRouter;