huangxiaojing 2 år sedan
förälder
incheckning
a020690220
2 ändrade filer med 10 tillägg och 0 borttagningar
  1. 6 0
      static/screenAndroid/WXtrialInterface.html
  2. 4 0
      static/screenIos/WXtrialInterface.html

+ 6 - 0
static/screenAndroid/WXtrialInterface.html

@@ -561,6 +561,8 @@
             }, 3000);
             return;
           }
+          $('#countView').hide();
+          $('.countdown-wrap').hide();
           $.toast('画面异常,请重新进入', 'text');
           setTimeout(() => {
             clearInterval(intervaler);
@@ -611,6 +613,8 @@
         if (ws.readyState === 1) {
           ws.send('ping');
         } else {
+          $('#countView').hide();
+          $('.countdown-wrap').hide();
           $.toast('画面异常,请重新进入', 'text');
           setTimeout(() => {
             clearInterval(intervaler);
@@ -631,6 +635,8 @@
           clearInterval(intervaler);
           throttle(doConnectBusiness, 100);
           if (errorTime > 1000) {
+            $('#countView').hide();
+            $('.countdown-wrap').hide();
             $.toast('画面异常,请重新进入', 'text');
             setTimeout(() => {
               wsss.close();

+ 4 - 0
static/screenIos/WXtrialInterface.html

@@ -582,6 +582,8 @@
             }, 3000);
             return;
           }
+          $('#countView').hide();
+          $('.countdown-wrap').hide();
           $.toast('画面异常,请重新进入', 'text');
           setTimeout(() => {
             quit();
@@ -1198,6 +1200,8 @@
           }
         }
         if (event.data === 'close') {
+          $('#countView').hide();
+          $('.countdown-wrap').hide();
           $.toast('画面异常,请重新进入', 'text');
           setTimeout(() => {
             decodeWoker.postMessage('close');