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