-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
性能调优,将获取offsetwidth的行为放置requestAnimationFrame中 (#395)
* chore: 性能调优,将获取offsetwidth的行为放置raf中 背景:针对表格大量数据下调优,表格下的分页控件使用了改控件 优化:将获取offsetwidth的行为放置raf中 * chore: 使用raf库替代window.raf * fix: 在每次raf前取消上次raf * feat: 新增@types/raf * chore: 库raf正确使用 * remove custom declare of 'raf' * chore: 重复代码抽离
- Loading branch information
Showing
3 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dcb6397
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully aliased the URL https://rc-select-9x47hkkde.now.sh to the following aliases.