settings.js 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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: '加载中...',
  16. /**
  17. * @type {boolean} true | false
  18. * @description Whether show the settings right-panel
  19. * 是否显示设置右侧面板
  20. */
  21. showSettings: true,
  22. /**
  23. * @type {boolean} true | false
  24. * @description Whether need tagsView
  25. * 是否使用tagsView
  26. */
  27. tagsView: true,
  28. /**
  29. * @type {boolean} true | false
  30. * @description Whether fix the header
  31. * 是否固定header
  32. */
  33. fixedHeader: true,
  34. /**
  35. * @type {boolean} true | false
  36. * @description Whether show the logo in sidebar
  37. * 是否在侧边栏中显示logo
  38. */
  39. sidebarLogo: true,
  40. /**
  41. * @type {boolean} true | false
  42. * @description Whether to turn on top bar navigation
  43. * 是否开启顶栏导航
  44. */
  45. topNav: true,
  46. /**
  47. * @type {boolean} true | false
  48. * @description Whether to navigation icon
  49. * 是否显示导航icon
  50. */
  51. navIcon: true,
  52. /**
  53. * @type {string | array} 'production' | ['production', 'development']
  54. * @description Need show err logs component.
  55. * The default is only used in the production env
  56. * If you want to also use it in dev, you can pass ['production', 'development']
  57. */
  58. errorLog: 'production',
  59. };