修复bug

This commit is contained in:
wxd
2024-11-05 22:00:19 +08:00
parent 6502e3f19f
commit a508107851
5 changed files with 9 additions and 3 deletions

View File

@@ -34,6 +34,7 @@ class MyWs {
reconnection(){
clearTimeout(this.reconnectionTime)
this.reconnectionTime = setTimeout(()=>{
this.wsUrl = url +`/${JSON.parse(getCookie("userInfo")).userId}`
this.linkWs(this.wsUrl)
},1000)
}