Browse Source

Merge pull request #256045 in DEC/fineui from master to feature/x

* commit 'c8cadb89105171028322400d4f937d6b9be0bbba':
  JSY-35201 fix: 交叉表性能问题 - 同 JSY-22136 问题
research/test
superman 1 year ago
parent
commit
b5d14ae33c
  1. 6
      packages/fineui/src/base/collection/collection.js

6
packages/fineui/src/base/collection/collection.js

@ -124,6 +124,12 @@ export class CollectionView extends Widget {
this.element.scrollLeft(scrollLeft); this.element.scrollLeft(scrollLeft);
} }
} }
destroyed() {
each(this.renderedCells, (i, cell) => {
cell.el._destroy();
});
}
_calculateSizeAndPositionData() { _calculateSizeAndPositionData() {
const { items, cellSizeAndPositionGetter } = this.options; const { items, cellSizeAndPositionGetter } = this.options;

Loading…
Cancel
Save