-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
引入vxe-table样式的同时引入element-ui的样式会存在内存泄漏 #1503
Comments
@fengpang |
|
我完全不引用vxe-table的样式文件,只按需引入的table组件,也会有内存无法回收问题,估计原因和你的还不太一样。 |
不太清楚,可能是blink的bug |
似乎被我解决了,提了个pr: x-extends/xe-utils#43 |
我在线重现例子里面是可以明显看到把css注释了内存泄漏就没了,你这个可能是别的问题 |
(必填)请填写问题描述或截图:
?
使用vxe-table的同时引入了element-ui的样式会出现内存泄漏
注释掉element的样式或者vxe-table的样式之后内存泄漏消失
打开chrome无痕模式(可以在edge以及chrome无痕模式上重现,在chrome正常模式(装了很多插件)以及firefox上都无法重现)
下面的在线链接在官方示例的基础上,加了切换隐藏显示, tabledata的行数,以及在css中引入了element-ui的样式可以看到随着点击次数的增加,内存逐渐上升,并且无法被回收
(必填)请填在线链接:
?
https://jsrun.net/uhTKp/edit
(必填)请填写期望的结果:
?
table消失之后,组件占用的内存能被回收
(必填)请填写以下信息:
The text was updated successfully, but these errors were encountered: