Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大数据渲染初始很卡 #789

Open
aierweisi opened this issue Aug 20, 2020 · 4 comments
Open

大数据渲染初始很卡 #789

aierweisi opened this issue Aug 20, 2020 · 4 comments

Comments

@aierweisi
Copy link

就是页面加载500条数据,数据加载之初页面很卡,在一段时间之后才会比较流畅,在表格渲染中使用了render函数来自定义表格内容,这个可以优化下嘛

@lsky-walt
Copy link
Contributor

500条数据是平铺所有数据,还是滚动?可以把代码贴出来吗?一起研究一下。

@aierweisi
Copy link
Author

500条数据是平铺所有数据,还是滚动?可以把代码贴出来吗?一起研究一下。

就是表格固定高度进行滚动,表格内容大部分都是通过render函数自定义渲染的,这样初始加载的时候就很卡,过个5,6秒之后才会顺畅

@lsky-walt
Copy link
Contributor

是类似这种吗?
可以参考我们官方文档中Table-性能进行更改。
或者可以贴一个sandbox我们一起看下。

@renaesop renaesop reopened this Sep 1, 2020
@EastblueOkay
Copy link
Contributor

@aierweisi 你好,你的 columns render 是否十分的耗时,例如存在个别单元格数据量很大的情况。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants