list.ts 551 B

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