We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在前端发送第一次websocket心跳前,发送公告右上角的消息数量是会改变的,但是当第一次心跳发送后,后端会断开ws连接,之后马上再连接上,此时在发送公告,右上角的消息数量不会实时更新,相当于前端的onMessage方法无法监听到WebSocket消息了
The text was updated successfully, but these errors were encountered:
参考这个,我发现还是很多人有websocket问题 jeecgboot/jeecgboot-vue3#1221
Sorry, something went wrong.
No branches or pull requests
版本号:JeecgBoot 3.6.3
分支: master
前端版本: vue3版
问题描述:
在前端发送第一次websocket心跳前,发送公告右上角的消息数量是会改变的,但是当第一次心跳发送后,后端会断开ws连接,之后马上再连接上,此时在发送公告,右上角的消息数量不会实时更新,相当于前端的onMessage方法无法监听到WebSocket消息了
截图&代码:
The text was updated successfully, but these errors were encountered: