mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-16 11:54:27 +00:00
Merge branch 'feat/rax-miniapp' of gitlab.alibaba-inc.com:ali-lowcode/ali-lowcode-engine into feat/rax-miniapp
This commit is contained in:
commit
ce9bc12ca3
@ -146,7 +146,9 @@ designer.addPropsReducer((props: any, node: Node) => {
|
|||||||
};
|
};
|
||||||
const lifeCycles = props.lifeCycles;
|
const lifeCycles = props.lifeCycles;
|
||||||
Object.keys(lifeCycleMap).forEach(key => {
|
Object.keys(lifeCycleMap).forEach(key => {
|
||||||
lifeCycles[lifeCycleMap[key]] = lifeCycles[key];
|
if (lifeCycles[key]) {
|
||||||
|
lifeCycles[lifeCycleMap[key]] = lifeCycles[key];
|
||||||
|
}
|
||||||
});
|
});
|
||||||
return props;
|
return props;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user