fix(collection-manager): o2m is array type

(cherry picked from commit 5de69d26ea40d95b732989d3b5d987b7e47541a6)
This commit is contained in:
chenos 2022-09-20 16:44:03 +08:00
parent 7f51610a6f
commit 2277e40290

View File

@ -87,7 +87,7 @@ export const o2m: IField = {
};
} else {
schema['x-component'] = 'CollectionField';
schema.type = 'object';
schema.type = 'array';
if (block === 'Form') {
schema['properties'] = {