Skip to content

重连后 $socket 的事件监听全部失效 #33

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

Open
chovYena opened this issue Mar 15, 2024 · 1 comment
Open

重连后 $socket 的事件监听全部失效 #33

chovYena opened this issue Mar 15, 2024 · 1 comment

Comments

@chovYena
Copy link

这是否属于原本的设计理念?是否有考虑优化这里

在很多场景下需要断线重连的,但是使用中发现一旦重连成功后,暴露的$socket 监听事件都失效了,只能是监听pinia中重连的状态重新挂载监听事件。

@likaia
Copy link
Owner

likaia commented Mar 15, 2024

这是否属于原本的设计理念?是否有考虑优化这里

在很多场景下需要断线重连的,但是使用中发现一旦重连成功后,暴露的$socket 监听事件都失效了,只能是监听pinia中重连的状态重新挂载监听事件。

这应该是bug,我后面修复下,目前在忙截图插件的2.0大版本功能开发,还没太多时间来处理这个项目。

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