@@ -104,7 +104,9 @@
},
destroyed () {
// 销毁监听
- this.socket.onclose = this.close
+ let that = this
+ this.socket.onclose = that.close
+
beforeDestroy () {
clearInterval(this.realTimeClData);