修复bug
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user