settings.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. module.exports = {
  2. title: '工业物联网平台',
  3. /**
  4. * @type {boolean} true | false
  5. * @description Whether show the settings right-panel
  6. */
  7. showSettings: false,
  8. /**
  9. * @type {boolean} true | false
  10. * @description Whether need tagsView
  11. */
  12. tagsView: false,
  13. /**
  14. * @type {boolean} true | false
  15. * @description Whether fix the header
  16. */
  17. fixedHeader: false,
  18. /**
  19. * @type {boolean} true | false
  20. * @description Whether show the logo in sidebar
  21. */
  22. sidebarLogo: true,
  23. /**
  24. * @type {string | array} 'production' | ['production', 'development']
  25. * @description Need show err logs component.
  26. * The default is only used in the production env
  27. * If you want to also use it in dev, you can pass ['production', 'development']
  28. */
  29. errorLog: 'production',
  30. /**
  31. * 服务API地址
  32. */
  33. // devServerUrl: 'http://113.141.93.143:1788', // 正式环境
  34. devServerUrl: 'http://192.168.3.5:1788', // 开发环境 qu
  35. serverUrl: 'http://113.141.93.143:1788', // 正式环境
  36. mqttUrl: 'ws://113.141.93.143:8894/mqtt', // mqtt地址
  37. /**
  38. * websocket 地址
  39. * dev 开发环境
  40. * pro正式环境
  41. */
  42. appID: '10001',
  43. appKey: '82a8bf439373e305',
  44. appSecret: '82a8bf439373e305',
  45. permitTplId: 7,
  46. wsServerUrl: {
  47. dev: 'ws://ws.58yunkang.com/websocket/link',
  48. pro: 'ws://ws.58yunkang.com/websocket/link'
  49. }
  50. }