page.ts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /*
  2. * @description: Do not edit
  3. * @author: cxiaoting
  4. * @Date: 2020-11-13 14:00:37
  5. * @LastEditors: cxiaoting
  6. * @LastEditTime: 2020-11-13 18:07:11
  7. */
  8. import type { MenuModule } from '/@/router/types.d';
  9. const menu: MenuModule = {
  10. orderNo: 20,
  11. menu: {
  12. name: '页面',
  13. path: '/page-demo',
  14. tag: {
  15. dot: true,
  16. },
  17. children: [
  18. {
  19. path: 'result',
  20. name: '结果页',
  21. tag: {
  22. content: 'new',
  23. },
  24. children: [
  25. {
  26. path: 'success',
  27. name: '成功页',
  28. },
  29. {
  30. path: 'fail',
  31. name: '失败页',
  32. },
  33. ],
  34. },
  35. {
  36. path: 'exception',
  37. name: '异常页',
  38. children: [
  39. {
  40. path: '403',
  41. name: '403',
  42. },
  43. {
  44. path: '404',
  45. name: '404',
  46. },
  47. {
  48. path: '500',
  49. name: '500',
  50. },
  51. {
  52. path: 'net-work-error',
  53. name: '网络错误',
  54. },
  55. {
  56. path: 'not-data',
  57. name: '无数据',
  58. },
  59. ],
  60. },
  61. {
  62. path: 'account',
  63. name: '个人页',
  64. tag: {
  65. content: 'new',
  66. },
  67. children: [
  68. {
  69. path: 'center',
  70. name: '个人中心',
  71. },
  72. {
  73. path: 'setting',
  74. name: '个人设置',
  75. },
  76. ],
  77. },
  78. ],
  79. },
  80. };
  81. export default menu;