-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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组件数据量稍大时展开所有节点时会明显卡顿 #6163
Labels
untriaged
need to sort
Comments
没有设置高度、或者最大高度的场景似乎不适用这种解决方案 |
那就没办法,这么多dom节点和数据不可能不卡 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
描述错误
树 Tree组件数据量稍大时展开所有节点时会明显卡顿
复现步骤
1、打开链接
2、点击展开节点,此时发现明显卡顿(可调整treeNum变量,treeNum为6时没有明显卡顿,treeNum越大时卡顿越明显)
最小复现链接
https://codesandbox.io/s/wizardly-frost-rymj2j?file=/src/Demo.vue
系统信息
使用的包管理器
pnpm
验证
The text was updated successfully, but these errors were encountered: