|
|
|
@ -300,10 +300,8 @@
|
|
|
|
|
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); |
|
|
|
|
} |
|
|
|
|
child._mount && child._mount(deep ? force : false, deep, lifeHook, predicate, layer + 1); |
|
|
|
|
} |
|
|
|
|
this._mountChildren && this._mountChildren(); |
|
|
|
|