mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 19:52:51 +00:00
fix(renderer-core): remove compatibility with uipaas
This commit is contained in:
parent
ada3fc1508
commit
8c951bbbde
@ -50,11 +50,6 @@ export function executeLifeCycleMethod(context: any, schema: IPublicTypeNodeSche
|
||||
return;
|
||||
}
|
||||
|
||||
// avoid execute lifeCycle method from __proto__'s method (it is React class Component Class lifeCycle)
|
||||
if (!Object.prototype.hasOwnProperty.call(context, method) && method !== 'constructor') {
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: cache
|
||||
if (isJSExpression(fn) || isJSFunction(fn)) {
|
||||
fn = thisRequiredInJSE ? parseThisRequiredExpression(fn, context) : parseExpression(fn, context);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user