From e5c614bc2bd5ec6d6190b7e45321014ae2192745 Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 16 Nov 2020 20:02:13 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-43571=20fix:=20=E7=94=9F=E5=91=BD?= =?UTF-8?q?=E5=91=A8=E6=9C=9F=E7=BC=BA=E5=A4=B1=E4=B8=8A=E4=B8=8B=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/widget.js b/src/core/widget.js index a8690a16f..85f9949fa 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -11,7 +11,7 @@ if (self[life]) { var hooks = BI.isArray(self[life]) ? self[life] : [self[life]]; BI.each(hooks, function (i, hook) { - hook(); + hook.apply(self); }); } }