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

DynamicTable疑似内存泄漏问题 #234

Open
yaoQshu opened this issue Feb 7, 2025 · 1 comment
Open

DynamicTable疑似内存泄漏问题 #234

yaoQshu opened this issue Feb 7, 2025 · 1 comment

Comments

@yaoQshu
Copy link

yaoQshu commented Feb 7, 2025

Hello,作者大大,各位朋友,大家好。

本人vue新手,使用过程中发现一个问题,特来请教一下。

DynamicTable疑似存在内存泄漏问题,同一个页面,使用时间越长,操作次数越多,页面就越卡顿。

对于比较复杂的页面,没多久就卡到几乎不可用了,外在表现为列的拖动响应很慢,点击查询按钮响应很慢,展开或收起查询表单响应很慢。

示例:
使用chrome自带的内存工具,按以下步骤重复执行6次,生成6份内存快照,发现RH和D6两种对象在持续增加。

Image

如果继续在当前页面执行更多的操作,比如变换查询条件,不停地拖动列,频繁点击查询,就会发现页面变得越来越卡。

@WuZhangTing
Copy link

dynamic-table.vue文件
:table-instance="dynamicTableContext"去掉应该就不卡了,内存还是会增加的,目前还没验证有什么影响。

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