huangxiaojing 2 lat temu
rodzic
commit
92c8093f1d
1 zmienionych plików z 0 dodań i 6 usunięć
  1. 0 6
      static/screenIos/timer.js

+ 0 - 6
static/screenIos/timer.js

@@ -3,10 +3,7 @@ function handleQuit() {
     actions: [{
       text: "退出",
       onClick: function () {
-        clearInterval(intervaler);
         quit();
-        ws.close();
-        wsss.close();
       }
     }, {
       text: "退出并下机",
@@ -20,10 +17,7 @@ function handleQuit() {
           dataType: 'json',
           function(res) {
             if (res.status === 0) {
-              clearInterval(intervaler);
               quit();
-              ws.close();
-              wsss.close();
             } else {
               $.toast(res.msg, 'text');
             }