From 92945fbb104666e36ad4b06996d48ea5e8597030 Mon Sep 17 00:00:00 2001 From: "Austin.Duan" Date: Tue, 22 Feb 2022 14:30:08 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-67093=20fix:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E6=A0=8F=E6=8C=89=E9=92=AE=E7=BD=AE=E7=81=B0?= =?UTF-8?q?=E9=97=AE=E9=A2=98,=E9=9C=80=E8=A6=81=E6=94=B9=E5=8F=98action?= =?UTF-8?q?=E5=86=85=E9=83=A8=E7=9A=84this=E6=8C=87=E5=90=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/3.ob.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }