settings.js 1.5 KB

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