vue3 使用时 切换显示状态 内存一直在增加 没有自动清楚缓存
shmily-xxx opened this issue · comments
shmily-xxx commented
What happened?
vue3 使用时 切换显示状态 内存一直在增加 没有自动清楚缓存 这只是例子 实际内容更多 更卡
最开始内存
切换几次后内存
logicflow.zip
Core Version
1.1.23
Extension Version
1.1.23
Engine Version
No response
What browsers are you seeing the problem on?
Chrome
shmily-xxx commented
DymoneLewis commented
感谢反馈,确实有这样的问题,目前正在开发destroy方法,短期比较推荐在FlowChart的beforeDestroy里调用一下lf.clearData()方法清空画布或者使用v-show控制组件的显隐
shmily-xxx commented
我尝试了lf.clearData()方法 节点还在 感觉作用不是太大
Lv.1 wumail commented
shmily-xxx commented
Lv.1 wumail commented