时间

    • DatePicker
    • DatePicker.RangePicker

    image.png

    1. export const schema = {
    2. "type": "object",
    3. "properties": {
    4. "time": {
    5. "type": "string",
    6. "title": "时间",
    7. "x-decorator": "FormItem",
    8. "x-component": "TimePicker",
    9. "x-validator": [],
    10. "x-component-props": {
    11. "placeholder": "请选择"
    12. },
    13. "x-decorator-props": {},
    14. "x-designable-id": "dg4myqa0srk",
    15. "x-index": 0,
    16. "name": "time",
    17. "required": true
    18. },
    19. "dates": {
    20. "type": "string[]",
    21. "title": "时间区间",
    22. "x-decorator": "FormItem",
    23. "x-component": "DatePicker.RangePicker",
    24. "x-validator": [],
    25. "x-component-props": {},
    26. "x-decorator-props": {},
    27. "name": "dates",
    28. "required": true,
    29. "x-designable-id": "lt3r7qhh8qn",
    30. "x-index": 1
    31. }
    32. },
    33. "x-designable-id": "3tdyjr137dx"
    34. }