fix(plugin-workflow): fix query node getter field (#308)

This commit is contained in:
Junyi 2022-04-21 14:36:18 +08:00 committed by GitHub
parent 3735d71e70
commit dda2ed1f77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ export default {
onChange({ type, options: { ...options, path } });
}}>
{collection.fields
.filter(field => BaseTypeSet.has(field.uiSchema.type))
.filter(field => BaseTypeSet.has(field.uiSchema?.type))
.map(field => (
<Select.Option key={field.name} value={field.name}>{compile(field.uiSchema.title)}</Select.Option>
))}