Browse Source

Pull request #2020: 无JIRA任务 bugfix

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

* commit '7cf4e950154d24abdfe12a83ef60982bc8e9b6d6':
  bugfix
es6
guy 3 years ago
parent
commit
dd5bec570c
  1. 2
      src/core/4.widget.js

2
src/core/4.widget.js

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

Loading…
Cancel
Save