Browse Source

Pull request #3020: JSY-22136 内存无法回收

Merge in VISUAL/fineui from ~FAY/fineui:main to master

* commit 'f9422ec10492307b775b44cb690f556a3fa9ff6d':
  JSY-22136
es6
fay-李丰豪 2 years ago
parent
commit
1c28b1fc4d
  1. 2
      src/core/4.widget.js

2
src/core/4.widget.js

@ -392,7 +392,7 @@
*/ */
_mount: function (force, deep, lifeHook, predicate, layer) { _mount: function (force, deep, lifeHook, predicate, layer) {
var self = this; var self = this;
if (!force && (this._isMounted || !this.isVisible() || this.__asking === true || !(this._isRoot === true || (this._parent && this._parent._isMounted === true)))) { if (!force && (this._isMounted || this.__asking === true || !(this._isRoot === true || (this._parent && this._parent._isMounted === true)))) {
return false; return false;
} }
layer = layer || 0; layer = layer || 0;

Loading…
Cancel
Save