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

Tree树形控件数据很大时页面渲染慢 #20100

Closed
1 task
li1195382526 opened this issue Dec 5, 2019 · 1 comment
Closed
1 task

Tree树形控件数据很大时页面渲染慢 #20100

li1195382526 opened this issue Dec 5, 2019 · 1 comment

Comments

@li1195382526
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

http://jc.epanel.cn/project/501459/check/Plan

Steps to reproduce

登录,进入链接页面,点击检查单位下,编辑,出现树结构加载页面

What is expected?

1.this.treeNodesStates这个方法怎么使用
2.antd升级后子节点都选中,父节点没自动选中,希望子节点都选中,相应父节点自动选中

What is actually happening?

1.antd升级后子节点都选中,父节点没自动选中
2.说明this.treeNodesStates怎么使用

Environment Info
antd 3.26.0
React 15
System win10
Browser 谷歌

在 3.4.0 之前:树节点可以有很多,但在设置checkable时,将会花费更多的计算时间,因此我们缓存了一些计算结果(this.treeNodesStates)来复用,避免多次重复计算,以此提高性能,如何使用

@afc163
Copy link
Member

afc163 commented Dec 5, 2019

Duplicate of #3789

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

3 participants