mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 21:20:28 +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') {
|
||||
const fn = content as () => ReactElement;
|
||||
content = (({ node }: any) => {
|
||||
fn.call(node);
|
||||
return fn.call(node);
|
||||
}) as any;
|
||||
}
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user