mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 21:20:28 +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;
|
||||
onChange({
|
||||
type: 'JSFunction',
|
||||
value: `function(){ this.${eventName}() }`,
|
||||
value: `function(){ return this.${eventName}() }`,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user