-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
当我使用VConsole.destory销毁实例后会在控制台出现报错 #649
Comments
果然是个老问题:#587 我的log是一个interval性质的,调用destroy之后, 这个改动的方法很多,比如在 做一个空保护是最简单的,但是从代码设计的角度来说也许不是最优的。 |
更正一下触发的原因,并不是因为 |
是的,我把关闭之前的log关了就不报错了。感谢 |
vConsole Version:3.15.1
报错详细内容:
Uncaught TypeError: Cannot read properties of undefined (reading 'update')
at u2 (vconsole.min.js:10:91405)
at e2._flushLogs (vconsole.min.js:10:91641)
at vconsole.min.js:10:91147
The text was updated successfully, but these errors were encountered: