We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
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
[vue] vue组件里写的原生addEventListeners监听事件,要手动去销毁吗?为什么?
The text was updated successfully, but these errors were encountered:
肯定要,一方面是绑定多次,另一方面是函数没释放会内存溢出
Sorry, something went wrong.
需要,原生DOM事件必须要手动销毁,否则会造成内存泄漏
No branches or pull requests
[vue] vue组件里写的原生addEventListeners监听事件,要手动去销毁吗?为什么?
The text was updated successfully, but these errors were encountered: