mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix(popup): fix the issue where clicking on a relationship field does not open the popup (#5972)
This commit is contained in:
parent
08130f333e
commit
695e2249ce
@ -308,14 +308,7 @@ export const ReadPrettyInternalViewer: React.FC<ReadPrettyInternalViewerProps> =
|
||||
// The recordData here is only provided when the popup is opened, not the current row record
|
||||
<VariablePopupRecordProvider>
|
||||
<WithoutTableFieldResource.Provider value={true}>
|
||||
<NocoBaseRecursionField
|
||||
schema={fieldSchema}
|
||||
onlyRenderProperties
|
||||
basePath={field.address}
|
||||
filterProperties={(s) => {
|
||||
return s['x-component'] === 'AssociationField.Viewer';
|
||||
}}
|
||||
/>
|
||||
<NocoBaseRecursionField schema={fieldSchema} onlyRenderProperties basePath={field.address} />
|
||||
</WithoutTableFieldResource.Provider>
|
||||
</VariablePopupRecordProvider>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user