mirror of
https://github.com/netfun2000/rttys_zhaojh329.git
synced 2026-02-27 09:53:24 +08:00
Fix bug: When the connection is closed, the oneror event is not captured under the IE browser
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
@@ -356,6 +356,10 @@ export default {
|
||||
}
|
||||
});
|
||||
|
||||
ws.on('error', ()=> {
|
||||
this.logout(null, term);
|
||||
});
|
||||
|
||||
ws.on('close', ()=> {
|
||||
this.logout(null, term);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user