瀏覽代碼

云机挂载时轮询接口

(cherry picked from commit dfe97a375ef0dc0e028e3029f846e01804b5ff33)
huangxiaojing 2 年之前
父節點
當前提交
28d64adf77
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      static/screenAndroid/WXtrialInterface.html
  2. 2 2
      static/screenIos/WXtrialInterface.html

+ 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();