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

Vue2 版本的 v-contextmenu 存在内存泄漏问题 #140

Closed
wfk007 opened this issue Dec 12, 2023 · 3 comments
Closed

Vue2 版本的 v-contextmenu 存在内存泄漏问题 #140

wfk007 opened this issue Dec 12, 2023 · 3 comments

Comments

@wfk007
Copy link

wfk007 commented Dec 12, 2023

期望结果

组件销毁后,window 上挂的 $$VContextmenu 可以销毁

实际结果

组件销毁后,window 上挂的 $$VContextmenu 没有销毁
image

复现步骤

  1. Git clone https://github.com/wfk007/v-contextmenu-memory-leak
  2. npm install
  3. npm run serve
  4. 点击切换按钮

环境说明

  • 组件版本:2.9.0
  • Vue 版本:2.7.15
  • 操作系统及版本:macOS Catalina 10.15.7
  • 浏览器及版本:120.0.6099.71
@CyberNika
Copy link
Owner

有解决这个问题的思路吗?欢迎提 PR。

@wfk007
Copy link
Author

wfk007 commented Dec 28, 2023

有解决这个问题的思路吗?欢迎提 PR。

@CyberNika 我提了个 PR #142

@CyberNika
Copy link
Owner

v2.9.1 已发布

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