From 439d4551b2545338c066999f7645c08491a2b712 Mon Sep 17 00:00:00 2001 From: "zude.hzd" Date: Thu, 16 Jul 2020 21:22:44 +0800 Subject: [PATCH] fix bug --- packages/plugin-event-bind-dialog/src/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/plugin-event-bind-dialog/src/index.tsx b/packages/plugin-event-bind-dialog/src/index.tsx index e2b5653cf..63d1a788d 100644 --- a/packages/plugin-event-bind-dialog/src/index.tsx +++ b/packages/plugin-event-bind-dialog/src/index.tsx @@ -52,6 +52,7 @@ export default class EventBindDialog extends Component { let schema = editor.get('designer').project.getSchema(); let pageNode = schema.componentsTree[0]; if (pageNode.methods){ + this.eventList = []; for (let key in pageNode.methods){ this.eventList.push({ name:key