Form 组件优化

This commit is contained in:
金禅 2020-08-13 23:48:54 +08:00
parent c5c2cbc972
commit 2b2c7672a8

View File

@ -5106,8 +5106,8 @@
} }
}, },
{ {
"componentName": "FormItem", "componentName": "Form.Item",
"title": "FormItem", "title": "Form.Item",
"docUrl": "", "docUrl": "",
"screenshot": "", "screenshot": "",
"npm": { "npm": {
@ -14119,7 +14119,7 @@
}, },
"children": [ "children": [
{ {
"componentName": "FormItem", "componentName": "Form.Item",
"props": { "props": {
"label": "Email: ", "label": "Email: ",
"required": true "required": true
@ -14136,7 +14136,7 @@
] ]
}, },
{ {
"componentName": "FormItem", "componentName": "Form.Item",
"props": { "props": {
"label": "Password: ", "label": "Password: ",
"required": true "required": true
@ -14153,7 +14153,7 @@
] ]
}, },
{ {
"componentName": "FormItem", "componentName": "Form.Item",
"props": { "props": {
"wrapperCol": { "wrapperCol": {
"offset": 7 "offset": 7
@ -14187,17 +14187,17 @@
] ]
}, },
{ {
"componentName": "FormItem", "componentName": "Form.Item",
"title": "表单项", "title": "表单项",
"icon": "https://img.alicdn.com/tfs/TB1nYqOuW61gK0jSZFlXXXDKFXa-112-64.png", "icon": "https://img.alicdn.com/tfs/TB1nYqOuW61gK0jSZFlXXXDKFXa-112-64.png",
"package": "@alifd/next", "package": "@alifd/next",
"library": "Next", "library": "Next",
"snippets": [ "snippets": [
{ {
"title": "FormItem", "title": "Form.Item",
"screenshot": "https://img.alicdn.com/tfs/TB1nYqOuW61gK0jSZFlXXXDKFXa-112-64.png", "screenshot": "https://img.alicdn.com/tfs/TB1nYqOuW61gK0jSZFlXXXDKFXa-112-64.png",
"schema": { "schema": {
"componentName": "FormItem", "componentName": "Form.Item",
"props": { "props": {
"placeholder": "拖动组件到这里" "placeholder": "拖动组件到这里"
} }
@ -14216,7 +14216,7 @@
"title": "输入框", "title": "输入框",
"screenshot": "https://img.alicdn.com/tfs/TB1ysp3u8v0gK0jSZKbXXbK2FXa-112-64.png", "screenshot": "https://img.alicdn.com/tfs/TB1ysp3u8v0gK0jSZKbXXbK2FXa-112-64.png",
"schema": { "schema": {
"componentName": "FormItem", "componentName": "Form.Item",
"props": { "props": {
"label": "标签", "label": "标签",
"labelAlign": "top", "labelAlign": "top",