settings.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. module.exports = {
  2. /**
  3. * @type {string}
  4. * @description Web page title
  5. */
  6. title: 'ChargEco Admin',
  7. /**
  8. * @type {string}
  9. * @description project name
  10. */
  11. projectName: 'ChargEco',
  12. company: 'Strides YTL Pte. Ltd.',
  13. defaultCountry: 'SG',
  14. defaultCalling: '65',
  15. dashboardVersion: 2,
  16. enableWebPos: true,
  17. enableTopup: false,
  18. enableEVCPID: true,
  19. enableOCPIToken: false,
  20. /**
  21. * @type {string}
  22. * @description API url base service
  23. */
  24. baseUrl: '/steve',
  25. /**
  26. * @type {boolean} true | false
  27. * @description Whether show the settings right-panel
  28. */
  29. showSettings: false,
  30. /**
  31. * @type {boolean} true | false
  32. * @description Whether need tagsView
  33. */
  34. tagsView: false,
  35. /**
  36. * @type {boolean} true | false
  37. * @description Whether fix the header
  38. */
  39. fixedHeader: true,
  40. /**
  41. * @type {boolean} true | false
  42. * @description Whether show the logo in sidebar
  43. */
  44. sidebarLogo: true,
  45. /**
  46. * 是否启用在线校验路由
  47. * - true 每次刷新都将获取最新的路由权限
  48. * - false 每次刷新获取本地缓存的路由权限
  49. */
  50. enableOnlineAuth: true,
  51. /**
  52. * @type {string | array} 'production' | ['production', 'development']
  53. * @description Need show err logs component.
  54. * The default is only used in the production env
  55. * If you want to also use it in dev, you can pass ['production', 'development']
  56. */
  57. errorLog: 'production'
  58. }