settings.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // +----------------------------------------------------------------------
  2. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
  5. // +----------------------------------------------------------------------
  6. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  7. // +----------------------------------------------------------------------
  8. // | Author: CRMEB Team <admin@crmeb.com>
  9. // +----------------------------------------------------------------------
  10. // 请求接口地址 如果没有配置自动获取当前网址路径
  11. const VUE_APP_API_URL = process.env.VUE_APP_BASE_API || `${location.origin}/api/`;
  12. module.exports = {
  13. // 接口请求地址
  14. apiBaseURL: VUE_APP_API_URL,
  15. title: 'CRMEBMer',
  16. /**
  17. * @type {boolean} true | false
  18. * @description Whether show the settings right-panel
  19. */
  20. showSettings: true,
  21. /**
  22. * @type {boolean} true | false
  23. * @description Whether need tagsView
  24. */
  25. tagsView: true,
  26. /**
  27. * @type {boolean} true | false
  28. * @description Whether fix the header
  29. */
  30. fixedHeader: true,
  31. /**
  32. * @type {boolean} true | false
  33. * @description Whether show the logo in sidebar
  34. */
  35. sidebarLogo: true,
  36. /**
  37. * @type {string | array} 'production' | ['production', 'development']
  38. * @description Need show err logs component.
  39. * The default is only used in the production env
  40. * If you want to also use it in dev, you can pass ['production', 'development']
  41. */
  42. errorLog: 'production',
  43. };