From c379e7cb24f44eff11e4811a63d41fb308774c70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E7=AB=8B=E6=96=8C?= Date: Fri, 11 Aug 2023 17:09:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B7=A8=E5=9F=9F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hiprint/hiprint.bundle.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hiprint/hiprint.bundle.js b/src/hiprint/hiprint.bundle.js index ff80949..c19d680 100644 --- a/src/hiprint/hiprint.bundle.js +++ b/src/hiprint/hiprint.bundle.js @@ -6961,6 +6961,7 @@ var hiprint = function (t) { var t = this; window.WebSocket ? this.socket || (this.socket = window.io(this.host, { + transports: ['websocket'], reconnectionAttempts: 5 }), this.socket.on("connect", function (e) { t.opened = !0, console.log("Websocket opened."), _this.socket.on("successs", function (t) { -- Gitee