settings.js 1.3 KB

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