jquery.js:3827 Uncaught DOMException: Failed to execute 'send' on 'WebSocket 解决办法

  发生异常从新发送。 html try { websocket2.send(msg); } catch(err) { var tryTime = 0; // 重试10次,每次之间间隔3秒 if (tryTime < 1) { var t1 = setTimeout(function () { tryTime++; websocket2.send
相关文章
相关标签/搜索