吉安感知网项目-前端
张含笑
2026-02-27 bdf31581ebf6387af19e4a1906ea901e417d922c
feat:注释心跳
1 files modified
2 ■■■ changed files
uniapps/work-app/src/utils/websocket.js 2 ●●● patch | view | raw | blame | history
uniapps/work-app/src/utils/websocket.js
@@ -50,7 +50,7 @@
      this.socketTask.onOpen(() => {
        this.connected = true
        // console.log('WebSocket已连接,userId:', this.userId)
        this.startPing()
        // this.startPing()
        if (this.onOpenCallback) {
          this.onOpenCallback()
        }