Browse Source

Pull request #1586: REPORT-43571 生命周期缺失上下文

Merge in VISUAL/fineui from ~TELLER/fineui:bugfix to master

* commit 'e5c614bc2bd5ec6d6190b7e45321014ae2192745':
  REPORT-43571 fix: 生命周期缺失上下文
es6
guy 4 years ago
parent
commit
9219be512d
  1. 2
      src/core/widget.js

2
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);
});
}
}

Loading…
Cancel
Save