ZaiZai před 1 rokem
rodič
revize
cc0c6c1431

+ 0 - 1
src/components/hc-tasks-user/modules/user-modal.vue

@@ -384,7 +384,6 @@ const userSortFinish = (data) => {
     console.log(data)
 }
 
-
 //确定选择
 const confirmLoading = ref(false)
 const confirmClick = async () => {

+ 2 - 2
src/config/index.json

@@ -1,8 +1,8 @@
 {
     "version": "20230607160059",
     "target1": "http://127.0.0.1:8090",
-    "target": "http://192.168.0.125:8090",
-    "target3": "http://39.108.216.210:8090",
+    "target2": "http://192.168.0.125:8090",
+    "target": "http://39.108.216.210:8090",
     "target4": "http://192.168.0.109:8090",
     "target5": "http://192.168.0.102:8090",
     "smsPhone": "",

+ 1 - 1
src/plugins/HcSocket.js

@@ -103,7 +103,7 @@ class HcSocket {
 
     // 指数退避策略
     getReconnectInterval(attempt) {
-        return Math.min(1000 * Math.pow(2, attempt), 30000)
+        return Math.min(1000 * Math.pow(2, attempt), this.interval)
     }
 
     handleMultipleTabs() {