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

nz-tree 加载大数据时页面卡顿,影响操作体验 #4426

Closed
pengmz-benqio opened this issue Nov 12, 2019 · 1 comment · Fixed by #4979
Closed

nz-tree 加载大数据时页面卡顿,影响操作体验 #4426

pengmz-benqio opened this issue Nov 12, 2019 · 1 comment · Fixed by #4979

Comments

@pengmz-benqio
Copy link

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-1qgquv?file=src/app/app.component.ts

Steps to reproduce

点击展开节点,或者选择chekbox

What is expected?

大量数据加载后渲染速度可以在秒级

What is actually happening?

页面卡顿好几秒才有响应,节点越多,耗时越久

Environment Info
ng-zorro-antd 7.0.0
Browser chrome75

是否可以增加参数限制一些不必要的递归操作,或者其他可以优化速度的逻辑

@zorro-bot
Copy link

zorro-bot bot commented Nov 12, 2019

Translation of this issue:

nz-tree page Caton when loading large data, operator experience

Reproduction link

[Https://stackblitz.com/edit/ng-zorro-antd-start-1qgquv?file=src/app/app.component.ts](https://stackblitz.com/edit/ng-zorro-antd- start-1qgquv? file = src / app / app.component.ts)

Steps to reproduce

Click to expand the node, or select chekbox

What is expected?

After loading a large amount of data can be rendered at the second speed stage

What is actually happening?

Caton seconds have good page response, the more nodes, the longer the time-consuming

Environment Info
Ng-zorro-antd 7.0.0
Browser chrome75

Parameter limits may be increased if the number of unnecessary recursive operations, or other logic can be optimized speed

vthinkxie pushed a commit to vthinkxie/ng-zorro-antd that referenced this issue Apr 3, 2020
vthinkxie pushed a commit to vthinkxie/ng-zorro-antd that referenced this issue Apr 3, 2020
vthinkxie pushed a commit to vthinkxie/ng-zorro-antd that referenced this issue Apr 3, 2020
vthinkxie pushed a commit to vthinkxie/ng-zorro-antd that referenced this issue Apr 3, 2020
vthinkxie pushed a commit to vthinkxie/ng-zorro-antd that referenced this issue Apr 3, 2020
vthinkxie pushed a commit to vthinkxie/ng-zorro-antd that referenced this issue Apr 3, 2020
vthinkxie pushed a commit to vthinkxie/ng-zorro-antd that referenced this issue Apr 3, 2020
vthinkxie pushed a commit that referenced this issue Apr 4, 2020
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
@hsuanxyz hsuanxyz mentioned this issue Apr 15, 2020
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants