Browse Source

Revert "无jira任务 多提交的"

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

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

@ -84,8 +84,10 @@ 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