@@ -1001,7 +1001,7 @@
this.serverTimeoutObj = setTimeout(() => {
// console.log('------close-------')
this.websock.close(); //如果 4秒之后我们没有收到 后台返回的心跳检测数据 断开socket,断开后会启动重连机制
- }, 4000);
+ }, 40000);
}, this.timeout)
},
@@ -13,7 +13,7 @@
require('module').globalPaths.push('<%= htmlWebpackPlugin.options.nodeModules.replace(/\\/g, '\\\\') %>')
</script>
<% } %>
- <script src="./url_config.js"></script>
+
</head>
<body>
<div id="app"></div>