index.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * @Author: LiZhiWei
  3. * @Date: 2026-01-13 15:01:49
  4. * @LastEditors: LiZhiWei
  5. * @LastEditTime: 2026-01-15 17:50:20
  6. * @Description:
  7. */
  8. import type { Config } from '~/types/config'
  9. export const appName = '海南绘家科技有限公司'
  10. export const appDescription = '海南绘家科技有限公司'
  11. export const apiBase = import.meta.env.VITE_API_URL
  12. const config: Config = {
  13. websiteTitle: appName,
  14. defaultSettings: {
  15. /**
  16. * @type String
  17. * @description Application's default title
  18. */
  19. title: '绘家',
  20. /**
  21. * @type {boolean} true | false
  22. * @description Whether need tagsView
  23. */
  24. tagsView: true,
  25. /**
  26. * @type {boolean} true | false
  27. * @description Whether fix the header
  28. */
  29. fixedHeader: true,
  30. /**
  31. * @type {boolean} true | false
  32. * @description Whether show the logo in sidebar
  33. */
  34. sidebarLogo: true,
  35. /**
  36. * @type {string | array} 'production' | ['production', 'development']
  37. * @description Need show err logs component.
  38. * The default is only used in the production env
  39. * If you want to also use it in dev, you can pass ['production', 'development']
  40. */
  41. errorLog: ['production', 'development'],
  42. fileUrl: '/yyds/file/download/',
  43. },
  44. }
  45. export default config