fix: type string

This commit is contained in:
chenos 2022-12-22 21:59:02 +08:00
parent 20710b40ea
commit 6935b21808

View File

@ -78,6 +78,7 @@ const FormItemInitializer = (props) => {
form.setValuesIn(name, uid());
insert({
name,
type: 'string',
'x-component': 'CollectionField',
'x-collection-field': `posts.${name}`,
'x-component-props': {},