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

多次弹窗加载浏览器内存一直在增加 #297

Closed
shmily-xxx opened this issue May 9, 2024 · 1 comment
Closed

多次弹窗加载浏览器内存一直在增加 #297

shmily-xxx opened this issue May 9, 2024 · 1 comment

Comments

@shmily-xxx
Copy link

有清除 或者销毁方法吗 多次加载浏览器内存越来越大

@seeksdream
Copy link
Owner

要清除数据可以使用graphInstance.clearGraph();
要销毁方法可以通过vue或者react的方式即可:
vue:

<RelationGraph v-if=xxxxxx></RelationGraph>

react

{
xxxxxx && <RelationGraph></RelationGraph>
}

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

2 participants