This commit is contained in:
wxd
2024-10-02 11:33:14 +08:00
parent 708028c02f
commit 0a273a24dc
10 changed files with 60 additions and 42 deletions

View File

@@ -21,10 +21,10 @@ class MyWs {
}
}
this.ws.onclose = (e)=>{
reconnection()
this.reconnection()
}
this.ws.onerror = (e)=>{
reconnection()
this.reconnection()
}
}
reconnection(){