settingConfig.js 492 B

1234567891011121314151617181920212223242526272829
  1. import { commonConfig } from '../../js/config'
  2. export const settingConfig = {
  3. time: '',
  4. theme: 'dark',
  5. // 设置面板属性的显隐
  6. displayOption: {
  7. dataAllocation: {
  8. // 是否存在数据配置
  9. enable: false
  10. }
  11. }
  12. }
  13. const customConfig = {
  14. type: 'currentTime',
  15. root: {
  16. dateFormat: 'YYYY-MM-DD HH:mm:ss'
  17. },
  18. customize: {
  19. fontSize: 28,
  20. fontWeight: 700,
  21. color: '#ffffff'
  22. }
  23. }
  24. export const dataConfig = {
  25. ...commonConfig(customConfig)
  26. }