diff --git a/package.json b/package.json index 5cb32aad7..af670f60e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20220222143230", + "version": "2.0.20220222192307", "description": "fineui", "main": "dist/fineui.min.js", "types": "dist/lib/index.d.ts", diff --git a/src/core/3.ob.js b/src/core/3.ob.js index 6eb2b53cd..5cf3cda20 100644 --- a/src/core/3.ob.js +++ b/src/core/3.ob.js @@ -67,7 +67,7 @@ self.on(eventName, lis); return; } - (lis.target ? lis.target : self)[lis.once ? "once" : "on"](lis.eventName, lis.action); + (lis.target ? lis.target : self)[lis.once ? "once" : "on"](lis.eventName, _.bind(lis.action, self)); }); delete this.options.listeners; }