一卡通系统管理平台前端界面

settings.ts 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. import { LanguageEnum } from '@/enums/LanguageEnum';
  2. const setting: DefaultSettings = {
  3. /**
  4. * 网页标题
  5. */
  6. title: import.meta.env.VITE_APP_TITLE,
  7. theme: '#409EFF',
  8. /**
  9. * 侧边栏主题 深色主题theme-dark,浅色主题theme-light
  10. */
  11. sideTheme: 'theme-dark',
  12. /**
  13. * 是否系统布局配置
  14. */
  15. showSettings: true,
  16. /**
  17. * 是否显示顶部导航
  18. */
  19. topNav: false,
  20. /**
  21. * 是否显示 tagsView
  22. */
  23. tagsView: true,
  24. /**
  25. * 是否固定头部
  26. */
  27. fixedHeader: false,
  28. /**
  29. * 是否显示logo
  30. */
  31. sidebarLogo: true,
  32. /**
  33. * 是否显示动态标题
  34. */
  35. dynamicTitle: false,
  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. animationEnable: false,
  44. dark: false,
  45. language: LanguageEnum.zh_CN,
  46. size: 'default',
  47. layout: ''
  48. };
  49. export default setting;