mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
97c33f6eed
@ -354,11 +354,7 @@ const InternalAction: React.FC<InternalActionProps> = observer(function Com(prop
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (addChild) {
|
if (addChild) {
|
||||||
return wrapSSR(
|
return wrapSSR(<TreeRecordProvider parent={recordData}>{result}</TreeRecordProvider>) as React.ReactElement;
|
||||||
<RecordProvider record={null} parent={parentRecordData}>
|
|
||||||
<TreeRecordProvider parent={recordData}>{result}</TreeRecordProvider>
|
|
||||||
</RecordProvider>,
|
|
||||||
) as React.ReactElement;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return wrapSSR(result) as React.ReactElement;
|
return wrapSSR(result) as React.ReactElement;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user