li.shaoyi 3 年之前
父节点
当前提交
4bc26561f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/utils/websocket/index.ts

+ 1 - 1
src/utils/websocket/index.ts

@@ -181,7 +181,7 @@ export class MTP2WebSocket<T extends Package40 | Package50> {
     private sendBeat(timer: beatTimer) {
     private sendBeat(timer: beatTimer) {
         timerUtil.setInterval(
         timerUtil.setInterval(
             () => {
             () => {
-                console.log('发送回复', this.packageType, ':', this.connState);
+                console.log('发送心跳', this.packageType, ':', this.connState);
                 // 当前没有连接
                 // 当前没有连接
                 if (this.connState !== 2) {
                 if (this.connState !== 2) {
                     return;
                     return;