浏览代码

修改了时间

xiang 6 年之前
父节点
当前提交
f65af32fcf
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      chat/src/components/index.vue
  2. 1 1
      service_exe/src/index.ejs

+ 1 - 1
chat/src/components/index.vue

@@ -1001,7 +1001,7 @@
 					this.serverTimeoutObj = setTimeout(() => {
 						// console.log('------close-------')
 						this.websock.close(); //如果 4秒之后我们没有收到 后台返回的心跳检测数据 断开socket,断开后会启动重连机制
-					}, 4000);
+					}, 40000);
 				}, this.timeout)
 			},
 

+ 1 - 1
service_exe/src/index.ejs

@@ -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>