Browse Source

REPORT-43571 fix: 生命周期缺失上下文

es6
iapyang 4 years ago
parent
commit
e5c614bc2b
  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