fix: filterTargetKey only support view collection (#3872)

This commit is contained in:
katherinehhh 2024-03-29 18:24:40 +08:00 committed by GitHub
parent b5317af527
commit fec3662dc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@ const getSchema = (schema: IField, record: any, compile, getContainer): ISchema
'x-decorator': 'FormItem', 'x-decorator': 'FormItem',
'x-component': 'Select', 'x-component': 'Select',
enum: '{{filterTargetKeyOptions}}', enum: '{{filterTargetKeyOptions}}',
'x-visible': '{{isView}}', 'x-visible': '{{!!isView}}',
}, },
footer: { footer: {
type: 'void', type: 'void',