list.ts 536 B

1234567891011121314151617181920212223242526
  1. import { $t } from "@/plugins/i18n";
  2. import type { RouteConfigsTable } from "/#/index";
  3. const ableRouter: RouteConfigsTable = {
  4. path: "/list",
  5. redirect: "/list/card",
  6. meta: {
  7. icon: "list-check",
  8. title: $t("menus.hsList"),
  9. rank: 12
  10. },
  11. children: [
  12. {
  13. path: "/list/card",
  14. name: "ListCard",
  15. component: () => import("@/views/list/card/index.vue"),
  16. meta: {
  17. icon: "card",
  18. title: $t("menus.hsListCard"),
  19. showParent: true
  20. }
  21. }
  22. ]
  23. };
  24. export default ableRouter;