-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
使用vue渲染节点,性能问题 #3879
Comments
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
首先得看下你用的是哪个版本的X6? |
@goldenfireking 能否提供一个复现的demo? |
因为无法复现,issue 先关闭。 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Describe the bug
使用vue组件来渲染节点,UI使用的element plus,节点点击显示个详细信息的弹窗,一开始只有几个节点的时候没有问题,当节点超过10个,性能开始逐渐下降,30个节点左右弹窗内容就出现滚动卡顿甚至浏览器卡死现象,为了确认是否是vue节点造成的,去除vue节点用内置的节点来渲染,然后通过点击事件来弹出详细信息弹窗,非常流畅,没有性能问题。
Your Example Website or App
无
Steps to Reproduce the Bug or Issue
1、用vue组件渲染一个节点
2、节点点击弹窗,弹窗内容滚动(放了些echarts图表,大概4-5个)
3、当节点数增多,弹窗内容滚动卡顿甚至卡死
Expected behavior
vue节点渲染性能,不应该十几个就造成卡顿
Screenshots or Videos
No response
Platform
OS: macOS
Browser: Chrome
Additional context
No response
The text was updated successfully, but these errors were encountered: