Pārlūkot izejas kodu

云机挂载时轮询接口

(cherry picked from commit dfe97a375ef0dc0e028e3029f846e01804b5ff33)
huangxiaojing 2 gadi atpakaļ
vecāks
revīzija
28d64adf77

+ 2 - 2
static/screenAndroid/WXtrialInterface.html

@@ -437,7 +437,7 @@
                 $.toast('网络异常,请稍后重试', 'text');
               }
             } else if (res.status === 5200) {
-              if (timeInterval >= 30) {
+              if (timeInterval > 7) {
                 $.toast('网络异常,请稍后重试', 'text');
                 timerInterval = clearTimeout()
                 return
@@ -445,7 +445,7 @@
               timerInterval = setTimeout(() => {
                 connect(type);
                 timeInterval += 1;
-              }, 1000)
+              }, 3000)
             } else {
               $.toast('画面异常,请重新进入', 'text');
               clearInterval(intervaler);

+ 2 - 2
static/screenIos/WXtrialInterface.html

@@ -448,7 +448,7 @@
                 $.toast('网络异常,请稍后重试', 'text');
               }
             } else if (res.status === 5200) {
-              if (timeInterval >= 30) {
+              if (timeInterval > 7) {
                 $.toast('网络异常,请稍后重试', 'text');
                 timerInterval = clearTimeout()
                 return
@@ -456,7 +456,7 @@
               timerInterval = setTimeout(() => {
                 connect(type);
                 timeInterval += 1;
-              }, 1000)
+              }, 3000)
             }  else {
               $.toast('画面异常,请重新进入', 'text');
               quit();