Closed liweitao92 closed 6 years ago
麻烦提供完整的 Schema。
{
"span_label": 4,
"span": 8,
"properties": {
"email": {
"type": "string",
"title": "邮箱",
"format": "email",
"placeholder": "请输入邮箱,最多20个字符",
"maxLength": 20,
"debug": true
},
"name": {
"type": "string",
"title": "姓名",
"placeholder": "请输入姓名",
"description": "必须大写开头且3个字以上",
"minLength": 3,
"debug": true
},
"age": {
"type": "number",
"title": "年龄"
},
"remark": {
"type": "string",
"title": "描述"
},
"menu": {
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "菜单"
}
}
},
"products": {
"type": "array",
"title": "产品清单",
"maxItems": 2,
"items": {
"type": "object",
"properties": {
"pn": {
"title": "产品名称",
"type": "string"
},
"num": {
"title": "件数",
"type": "number",
"minimum": 1,
"maximum": 1000
},
"price": {
"title": "金额",
"type": "number"
}
},
"required": ["pn", "num", "price"]
}
}
},
"button": {
"style": { "text-align": "center" },
"items": [
{
"label": "Send",
"id": "send",
"submit": true,
"offset": 4
},
{
"label": "Reset",
"id": "reset"
}
]
}
}
Bug Report or Feature Request (mark with an
x
)Reproduction link
Steps to reproduce
type:object时 ,表单样式显示异常
What is expected?
What is actually happening?
Environment