fix: 拓扑取网元状态改ws读取
This commit is contained in:
@@ -166,7 +166,8 @@ export class WS {
|
||||
console.warn('websocket unavailable');
|
||||
return;
|
||||
}
|
||||
console.log(' readyState', this.ws.readyState);
|
||||
|
||||
// 非正常状态关闭
|
||||
if (
|
||||
this.ws.readyState === WebSocket.CLOSED ||
|
||||
this.ws.readyState === WebSocket.CLOSING
|
||||
|
||||
Reference in New Issue
Block a user