There was an error while loading. Please reload this page.
1 parent 248ea16 commit e87cd08Copy full SHA for e87cd08
packages/settings/events/src/components/BindEventsDialog.vue
@@ -184,12 +184,12 @@ export default {
184
}
185
186
187
- const activePagePlugin = () => {
+ const activePagePlugin = (name) => {
188
activePlugin(PLUGIN_NAME.Page).then(() => {
189
// 确认js面板渲染完成之后再对目标函数进行高亮处理
190
nextTick(() => {
191
if (highlightMethod) {
192
- highlightMethod(state.bindMethodInfo?.name)
+ highlightMethod(name)
193
194
})
195
@@ -231,7 +231,7 @@ export default {
231
232
saveMethod?.(method)
233
234
- activePagePlugin()
+ activePagePlugin(name)
235
close()
236
237
0 commit comments