From c100b7ad2b16eb977ae3eb6a6c9eb7c472e52569 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 17 Nov 2020 16:43:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=99=E4=B8=AAchangelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 1 + src/core/widget.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index a9e6ffbc7d..b4173de60d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,6 @@ # 更新日志 2.0(2020-11) +- store支持webworker机制,可以将状态处理多线程处理 - 修复了Popover小屏幕上看不完整的问题 - 颜色选择器支持输入16进制颜色编号 - bi.textarea_editor支持气泡提示报错 diff --git a/src/core/widget.js b/src/core/widget.js index 85f9949fae..c5aeca4994 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.apply(self); + hook.call(self); }); } }