-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Can't add event listener at plugin's ready event when upgrade vConsole version to 3.15.0 #591
Labels
Comments
GitHub好卡。。。补充下说明,这个代码在旧版本(3.14.x)是可以的,ready之后可以直接querySelector,升级到最新就不行了。 |
可以在settimeout中执行没问题,下一个循环对吧。但是这样处理感觉很不爽,请帮忙看看是bug还是我的写法有问题 |
3.14.6 还可以,3.14.7和之后的版本就会报错。 |
F |
是 bug。从这个提交 #c8d312a 开始,这里不再是同步渲染;但 ready 事件仍然是同步发出的。 |
johnscliang
pushed a commit
to johnscliang/vConsole
that referenced
this issue
May 23, 2023
Closed
当初使用 setTimeout 来渲染插件,使同步变成异步,是存在问题的。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: