mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-06 18:37:07 +00:00
fix: fix function bug
This commit is contained in:
parent
113e4092c4
commit
ab151dfe66
@ -181,7 +181,7 @@ export default class FunctionSetter extends PureComponent<FunctionSetterProps> {
|
|||||||
const { onChange } = this.props;
|
const { onChange } = this.props;
|
||||||
onChange({
|
onChange({
|
||||||
type: 'JSFunction',
|
type: 'JSFunction',
|
||||||
value: `function(){ this.${eventName}() }`,
|
value: `function(){ return this.${eventName}() }`,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user