[Bug Report] DateTimePicker 日期时间选择器 以组件形式使用,存在内存泄漏(el-input输入也有同样问题)
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Element UI version
2.13.2
### OS/Browsers version
chrome浏览器任一版本
### Vue version
2.6.11
### Reproduction Link
https://github.com/sdtm1016/element-datetime-memoryleak
### Steps to reproduce
1:参照简单示例:https://github.com/sdtm1016/element-datetime-memoryleak,运行项目
2:打开 chrome 控制台,切换到Memory标签
3: 点击包含有DateTimePicker的弹窗(有时分秒),选择时间,关闭弹窗,来回多次
4:选中Heap snapshot,点击Take snapshot
5:循环步骤3和4,记录内存占用
6:点击包含有DatePicker的弹窗,选择时间,关闭弹窗,来回多次
7:选中Heap snapshot,点击Take snapshot
8:循环步骤6和7,记录内存占用
### What is Expected?
DateTimePicker的弹窗操作后,内存占用正常
### What is actually happening?
DateTimePicker的弹窗操作后,内存持续增加,且存在Detached节点未释放
DatePicker正常
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.