forked from opentiny/tiny-engine
parent
47c71d1129
commit
ffd0280877
|
@ -352,8 +352,8 @@ export default {
|
|||
saveMethod?.({
|
||||
name: state.bindMethodInfo.name,
|
||||
content: state.enableExtraParams
|
||||
? `function (eventArgs,${formatParams}) ${functionBody}`
|
||||
: `function (${formatParams}) ${functionBody}`
|
||||
? `function ${state.bindMethodInfo.name}(eventArgs,${formatParams}) ${functionBody}`
|
||||
: `function ${state.bindMethodInfo.name}(${formatParams}) ${functionBody}`
|
||||
})
|
||||
|
||||
activePagePlugin()
|
||||
|
|
Loading…
Reference in New Issue