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