Browse Source

Pull request #2015: 无JIRA任务 bugfix

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '3a3bf16b38105d92bc7fcf2f79f6f8d6d3b5c6c2':
  bugfix
es6
guy 3 years ago
parent
commit
d1701a67fe
  1. 4
      src/core/4.widget.js

4
src/core/4.widget.js

@ -300,8 +300,10 @@
this._isMounted = true;
for (var key in this._children) {
var child = this._children[key];
if (layer === 0) {
!self.isEnabled() && child._setEnable(false);
!self.isValid() && child._setValid(false);
self.isValid() && child._setValid(false);
}
child._mount && child._mount(deep ? force : false, deep, lifeHook, predicate, layer + 1);
}
this._mountChildren && this._mountChildren();

Loading…
Cancel
Save