吉安感知网项目-前端
chenyao
2026-02-27 4af871597f94631e18cc03a35bedea2679e14d9f
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()
        }