mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +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
|
// The recordData here is only provided when the popup is opened, not the current row record
|
||||||
<VariablePopupRecordProvider>
|
<VariablePopupRecordProvider>
|
||||||
<WithoutTableFieldResource.Provider value={true}>
|
<WithoutTableFieldResource.Provider value={true}>
|
||||||
<NocoBaseRecursionField
|
<NocoBaseRecursionField schema={fieldSchema} onlyRenderProperties basePath={field.address} />
|
||||||
schema={fieldSchema}
|
|
||||||
onlyRenderProperties
|
|
||||||
basePath={field.address}
|
|
||||||
filterProperties={(s) => {
|
|
||||||
return s['x-component'] === 'AssociationField.Viewer';
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</WithoutTableFieldResource.Provider>
|
</WithoutTableFieldResource.Provider>
|
||||||
</VariablePopupRecordProvider>
|
</VariablePopupRecordProvider>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user