mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-11-30 02:37:57 +08:00
Merge branch 'main' of github.com:eolinker/eoapi
This commit is contained in:
commit
7001b439f5
@ -84,6 +84,11 @@ export class WebsocketComponent implements OnInit, OnDestroy {
|
||||
{ transports: ['websocket'] }
|
||||
);
|
||||
this.socket.on('connect_error', (error) => {
|
||||
// * conncet socketIO is failed
|
||||
console.log('connect_error', error);
|
||||
this.isSocketConnect = false;
|
||||
});
|
||||
this.socket.on('error', (error) => {
|
||||
// * conncet socketIO is failed
|
||||
console.log('error', error);
|
||||
this.isSocketConnect = false;
|
||||
|
Loading…
Reference in New Issue
Block a user