settings.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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: false,
  17. /**
  18. * @type {string}
  19. * @description API url base service
  20. */
  21. baseUrl: '/steve',
  22. /**
  23. * @type {boolean} true | false
  24. * @description Whether show the settings right-panel
  25. */
  26. showSettings: false,
  27. /**
  28. * @type {boolean} true | false
  29. * @description Whether need tagsView
  30. */
  31. tagsView: false,
  32. /**
  33. * @type {boolean} true | false
  34. * @description Whether fix the header
  35. */
  36. fixedHeader: true,
  37. /**
  38. * @type {boolean} true | false
  39. * @description Whether show the logo in sidebar
  40. */
  41. sidebarLogo: true,
  42. /**
  43. * 是否启用在线校验路由
  44. * - true 每次刷新都将获取最新的路由权限
  45. * - false 每次刷新获取本地缓存的路由权限
  46. */
  47. enableOnlineAuth: true,
  48. /**
  49. * @type {string | array} 'production' | ['production', 'development']
  50. * @description Need show err logs component.
  51. * The default is only used in the production env
  52. * If you want to also use it in dev, you can pass ['production', 'development']
  53. */
  54. errorLog: 'production'
  55. }