Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

defaultSettings.js 1.2 KiB

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * 项目默认配置项
  3. * primaryColor - 默认主题色
  4. * navTheme - sidebar theme ['dark', 'light'] 两种主题
  5. * colorWeak - 色盲模式
  6. * layout - 整体布局方式 ['sidemenu', 'topmenu'] 两种布局
  7. * fixedHeader - 固定 Header : boolean
  8. * fixSiderbar - 固定左侧菜单栏 : boolean
  9. * autoHideHeader - 向下滚动时,隐藏 Header : boolean
  10. * contentWidth - 内容区布局: 流式 | 固定
  11. *
  12. * storageOptions: {} - Vue-ls 插件配置项 (localStorage/sessionStorage)
  13. *
  14. */
  15. export default {
  16. primaryColor: '#1890FF', // primary color of ant design
  17. navTheme: 'light', // theme for nav menu
  18. layout: 'sidemenu', // nav menu position: sidemenu or topmenu
  19. contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu
  20. fixedHeader: false, // sticky header
  21. fixSiderbar: false, // sticky siderbar
  22. autoHideHeader: false, // auto hide header
  23. colorWeak: false,
  24. multipage: true, //默认多页签模式
  25. // vue-ls options
  26. storageOptions: {
  27. namespace: 'pro__', // key prefix
  28. name: 'ls', // name variable Vue.[ls] or this.[$ls],
  29. storage: 'local', // storage name session, local, memory
  30. }
  31. }