mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-03 16:07:24 +00:00
fix: 保存区块按钮渲染异常
This commit is contained in:
parent
2960446197
commit
33a7227a13
@ -564,7 +564,7 @@ export function upgradeActions(actions?: Array<ComponentType<any> | ReactElement
|
|||||||
if (typeof content === 'function') {
|
if (typeof content === 'function') {
|
||||||
const fn = content as () => ReactElement;
|
const fn = content as () => ReactElement;
|
||||||
content = (({ node }: any) => {
|
content = (({ node }: any) => {
|
||||||
fn.call(node);
|
return fn.call(node);
|
||||||
}) as any;
|
}) as any;
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user