password.ts 1016 B

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