Repository navigation
json schema got some diffs,can u make them consistent #2
Picktarget
started this conversation in
General
Replies: 2 comments
|
theres are the schema props https://vue.formilyjs.org/api/shared/schema.html#%E5%B1%9E%E6%80%A7 |
0 replies
|
Closed |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
eg:
antdSchema = {
type: 'object',
properties: {
input: {
type: 'string',
title:'输入框'
'x-decorator': 'FormItem',
'x-component': 'Input',
'x-component-props': {
style: {
width: 240,
},
},
},
textarea: {
type: 'string',
title: '输入框',
'x-decorator': 'FormItem',
'x-component': 'Input.TextArea',
'x-component-props': {
style: {
width: 240,
},
},
},
},
vantSchema = {
type: 'object',
properties: {
input: {
type: 'string',
'x-decorator': '',
'x-component': 'Input',
'x-component-props': {
label:'输入框',
style: {
width: 240,
},
},
},
textarea: {
type: 'string',
'x-decorator': '',
'x-component': 'Input.TextArea',
'x-component-props': {
label:'输入框',
style: {
width: 240,
},
},
},
},
All reactions