see999 4 years ago
parent
commit
8fd2fa28af
2 changed files with 10 additions and 10 deletions
  1. 5 5
      src/xt_pages/sign/lineUp.vue
  2. 5 5
      src/xt_pages/sign/signIn.vue

+ 5 - 5
src/xt_pages/sign/lineUp.vue View File

325
         this.timerID = setInterval(() => {
325
         this.timerID = setInterval(() => {
326
             this.updateTime()
326
             this.updateTime()
327
         }, 1000);
327
         }, 1000);
328
-        this.newTimes = setInterval(() => {
329
-            this.reload()
330
-        }, 1000 * 60 * 30);
328
+        // this.newTimes = setInterval(() => {
329
+        //     this.reload()
330
+        // }, 1000 * 60 * 30);
331
     },
331
     },
332
     beforeDestroy(){
332
     beforeDestroy(){
333
         clearInterval(this.timer);  // 清除定时器
333
         clearInterval(this.timer);  // 清除定时器
334
         this.timer = null
334
         this.timer = null
335
         clearInterval(this.timerID);
335
         clearInterval(this.timerID);
336
         this.timerID = null;  // 清除定时器
336
         this.timerID = null;  // 清除定时器
337
-        clearInterval(this.newTimes);  // 清除定时器
338
-        this.newTimes = null
337
+        // clearInterval(this.newTimes);  // 清除定时器
338
+        // this.newTimes = null
339
         let unObj = {
339
         let unObj = {
340
             cmd:'queue/unjoin',
340
             cmd:'queue/unjoin',
341
             data:{type:2}
341
             data:{type:2}

+ 5 - 5
src/xt_pages/sign/signIn.vue View File

209
             this.updateTime()
209
             this.updateTime()
210
         }, 1000);
210
         }, 1000);
211
         // this.updateTime();
211
         // this.updateTime();
212
-        this.newTimes = setInterval(() => {
213
-            this.reload()
214
-        }, 1000 * 60 * 3);
212
+        // this.newTimes = setInterval(() => {
213
+        //     this.reload()
214
+        // }, 1000 * 60 * 3);
215
     },
215
     },
216
     beforeDestroy(){
216
     beforeDestroy(){
217
         clearInterval(this.timer);  // 清除定时器
217
         clearInterval(this.timer);  // 清除定时器
218
         clearInterval(this.timerID);  // 清除定时器
218
         clearInterval(this.timerID);  // 清除定时器
219
-        clearInterval(this.newTimes);  // 清除定时器
220
-        this.newTimes = null
219
+        // clearInterval(this.newTimes);  // 清除定时器
220
+        // this.newTimes = null
221
         let obj = {
221
         let obj = {
222
             cmd: "queue/unjoin",
222
             cmd: "queue/unjoin",
223
             data: {type:1},
223
             data: {type:1},