tabs.ts 852 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import Layout from "/@/layout/index.vue";
  2. const tabsRouter = {
  3. path: "/tabs",
  4. name: "reTabs",
  5. component: Layout,
  6. redirect: "/tabs/index",
  7. meta: {
  8. icon: "IF-team-icontabs",
  9. title: "message.hstabs",
  10. i18n: true,
  11. showLink: true,
  12. rank: 8
  13. },
  14. children: [
  15. {
  16. path: "/tabs/index",
  17. name: "reTabs",
  18. component: () => import("/@/views/tabs/index.vue"),
  19. meta: {
  20. title: "message.hstabs",
  21. showLink: true,
  22. i18n: true
  23. }
  24. },
  25. {
  26. path: "/tabs/detail/:id",
  27. name: "tabDetail",
  28. component: () => import("/@/views/tabs/tabDetail.vue"),
  29. meta: {
  30. title: "",
  31. showLink: false,
  32. i18n: false,
  33. dynamicLevel: 3,
  34. realPath: "/tabs/detail",
  35. refreshRedirect: "/tabs/index"
  36. }
  37. }
  38. ]
  39. };
  40. export default tabsRouter;