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