Browse Source

Pull request #3095: JSY-22136 内存问题

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

* commit '0272363a6fea4c118c85151ec00113f743e88c76':
  JSY-22136 内存问题
es6
fay-李丰豪 2 years ago
parent
commit
18c5bcbffe
  1. 6
      src/base/grid/grid.js

6
src/base/grid/grid.js

@ -96,6 +96,12 @@ BI.GridView = BI.inherit(BI.Widget, {
this.element.scrollLeft(o.scrollLeft); this.element.scrollLeft(o.scrollLeft);
} }
}, },
destroyed: function () {
BI.each(this.renderedCells, function(i, cell) {
cell.el._destroy();
})
},
_calculateSizeAndPositionData: function () { _calculateSizeAndPositionData: function () {
var o = this.options; var o = this.options;

Loading…
Cancel
Save