settings.ts 964 B

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