configure.js 582 B

12345678910111213141516171819202122232425262728
  1. import { basicTwoInputConfigureOptions } from '../../input-configure-options'
  2. export default {
  3. ...basicTwoInputConfigureOptions(),
  4. viewType: {
  5. label: '显示类型',
  6. type: 'select',
  7. options: ['date', 'datetime']
  8. },
  9. isTimestamp: {
  10. label: '是否获取时间戳',
  11. type: 'switch'
  12. },
  13. placeholder: {
  14. label: '开始时间占位'
  15. },
  16. otherPlaceholder: {
  17. type: 'input',
  18. label: '结束时间占位',
  19. limit: 20
  20. },
  21. formatter: {
  22. label: '展示格式',
  23. type: 'input',
  24. limit: 20
  25. },
  26. required: {},
  27. requiredErrorMessage: {}
  28. }