VUE的websocket执行close方法后,下次连接会接收到上次后台发的数据,应该是buffer里存储的数据,如何再vue侧清除bufferclose: function() {if (this.socket) {this.socket.send('close');this.socket.close()}
https://www.jianshu.com/p/99fef260f9eb