mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-06 06:08:07 +08:00
fix: avoid errors
This commit is contained in:
parent
460d69fba8
commit
7d63262f8e
@ -538,7 +538,7 @@ FormItem.Designer = function Designer() {
|
||||
)}
|
||||
{form &&
|
||||
!form?.readPretty &&
|
||||
['o2m', 'm2m'].includes(collectionField.interface) &&
|
||||
['o2m', 'm2m'].includes(collectionField?.interface) &&
|
||||
fieldSchema['x-component'] !== 'TableField' && (
|
||||
<SchemaSettings.SwitchItem
|
||||
key="multiple"
|
||||
|
Loading…
Reference in New Issue
Block a user