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

使用vue渲染节点,性能问题 #3879

Closed
goldenfireking opened this issue Aug 30, 2023 · 5 comments
Closed

使用vue渲染节点,性能问题 #3879

goldenfireking opened this issue Aug 30, 2023 · 5 comments
Labels
resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems

Comments

@goldenfireking
Copy link

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

@x6-bot
Copy link
Contributor

x6-bot bot commented Aug 30, 2023

👋 @goldenfireking

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@qiufeihong2018
Copy link
Contributor

首先得看下你用的是哪个版本的X6?

@lloydzhou
Copy link
Contributor

@goldenfireking 能否提供一个复现的demo?

@NewByVector NewByVector added the resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems label Sep 7, 2023
@NewByVector
Copy link
Contributor

因为无法复现,issue 先关闭。

@x6-bot
Copy link
Contributor

x6-bot bot commented Oct 3, 2024

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.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Oct 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems
Projects
None yet
Development

No branches or pull requests

4 participants