see999 4 年前
父节点
当前提交
8fd2fa28af
共有 2 个文件被更改,包括 10 次插入10 次删除
  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 查看文件

@@ -325,17 +325,17 @@ export default {
325 325
         this.timerID = setInterval(() => {
326 326
             this.updateTime()
327 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 332
     beforeDestroy(){
333 333
         clearInterval(this.timer);  // 清除定时器
334 334
         this.timer = null
335 335
         clearInterval(this.timerID);
336 336
         this.timerID = null;  // 清除定时器
337
-        clearInterval(this.newTimes);  // 清除定时器
338
-        this.newTimes = null
337
+        // clearInterval(this.newTimes);  // 清除定时器
338
+        // this.newTimes = null
339 339
         let unObj = {
340 340
             cmd:'queue/unjoin',
341 341
             data:{type:2}

+ 5 - 5
src/xt_pages/sign/signIn.vue 查看文件

@@ -209,15 +209,15 @@ export default {
209 209
             this.updateTime()
210 210
         }, 1000);
211 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 216
     beforeDestroy(){
217 217
         clearInterval(this.timer);  // 清除定时器
218 218
         clearInterval(this.timerID);  // 清除定时器
219
-        clearInterval(this.newTimes);  // 清除定时器
220
-        this.newTimes = null
219
+        // clearInterval(this.newTimes);  // 清除定时器
220
+        // this.newTimes = null
221 221
         let obj = {
222 222
             cmd: "queue/unjoin",
223 223
             data: {type:1},