password.ts 984 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // 最简代码,也就是这些字段必须有
  2. import server from "@/assets/icon-png/menuList/server.svg";
  3. export default {
  4. path: "/password",
  5. meta: {
  6. title: "账号与密码",
  7. // 是否在主菜单显示父级路由 仅支持mixNav
  8. filterMenu: true
  9. // showLink: false
  10. },
  11. children: [
  12. {
  13. path: "/password-Change",
  14. meta: {
  15. title: "修改密码",
  16. icon: server
  17. },
  18. children: [
  19. {
  20. path: "/password/change",
  21. name: "password-change",
  22. component: () => import("@/views/password/index.vue"),
  23. meta: {
  24. title: "修改密码",
  25. showParent: true
  26. }
  27. }
  28. // {
  29. // path: "/password/new",
  30. // name: "password-new",
  31. // component: () => import("@/views/password/newPassword.vue"),
  32. // meta: {
  33. // title: "重置密码"
  34. // }
  35. // }
  36. ]
  37. }
  38. ]
  39. } satisfies RouteConfigsTable;