white-list.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. * @Author: WangQiBiao
  3. * @Date: 2019-09-18 09:40:26
  4. * @LastEditors: wjc
  5. * @LastEditTime: 2025-11-19 16:16:33
  6. * @Description: 白名单菜单
  7. */
  8. import _import from "./_import"
  9. /**
  10. * title 菜单名称
  11. * hideInMenu 是否隐藏菜单,默认显示
  12. * icon 菜单图
  13. */
  14. export default [
  15. {
  16. path: "",
  17. redirect: "login",
  18. },
  19. {
  20. path: "/",
  21. redirect: "login",
  22. },
  23. {
  24. path: "/index",
  25. component: _import("index"),
  26. meta: {
  27. title: "首页",
  28. hideInMenu: false,
  29. icon: "",
  30. },
  31. },
  32. {
  33. path: "/total-sum",
  34. component: _import("total-sum"),
  35. meta: {
  36. title: "总金额统计",
  37. hideInMenu: false,
  38. icon: "",
  39. },
  40. },
  41. {
  42. path: "/hui-jia",
  43. component: () => import('@/components/main/index.vue'),
  44. meta: {
  45. title: "绘家科技",
  46. hideInMenu: false,
  47. },
  48. children: [
  49. {
  50. path: "b1",
  51. component: () => import("@/views/hui-jia/b1-screen/index.vue"),
  52. meta: {
  53. title: "绘家科技",
  54. hideInMenu: false,
  55. },
  56. },
  57. {
  58. path: "b2",
  59. component: () => import("@/views/hui-jia/b2-screen/index.vue"),
  60. meta: {
  61. title: "绘家科技",
  62. hideInMenu: false,
  63. },
  64. },
  65. ],
  66. },
  67. {
  68. path: "/login",
  69. component: _import("login"),
  70. meta: {
  71. title: "登录",
  72. hideInMenu: false,
  73. icon: "",
  74. },
  75. },
  76. {
  77. path: "/no-login",
  78. component: _import("no-login"),
  79. meta: {
  80. title: "没有登录权限",
  81. hideInMenu: false,
  82. icon: "",
  83. },
  84. },
  85. {
  86. path: "*",
  87. component: _import("not-found"),
  88. },
  89. ]