添加路由复用策略
This commit is contained in:
@@ -28,6 +28,7 @@ export class WebsocketService {
|
||||
ob.error("连接失败")
|
||||
}
|
||||
this.websocket.onclose = () => {
|
||||
console.log('websocket was complete')
|
||||
ob.complete();
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user