Browse Source

无jira任务 多提交的

research/test
jian 1 year ago
parent
commit
4e019804a4
  1. 2
      packages/fineui/src/base/list/virtualgrouplist.js

2
packages/fineui/src/base/list/virtualgrouplist.js

@ -84,10 +84,8 @@ export class VirtualGroupList extends Widget {
o.scrollTop = this.element.scrollTop(); o.scrollTop = this.element.scrollTop();
if (!this.ticking) { if (!this.ticking) {
requestAnimationFrame(() => { requestAnimationFrame(() => {
const start = new Date().getTime();
this._calculateBlocksToRender(); this._calculateBlocksToRender();
this.ticking = false; this.ticking = false;
console.log(new Date().getTime() - start);
}); });
this.ticking = true; this.ticking = true;
} }

Loading…
Cancel
Save