From 6741811c83a4b628e59d5d90a45ce407046f1139 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期五, 22 十一月 2024 10:30:19 +0800 Subject: [PATCH] # --- Monitor-APP/pages/home/home.vue | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue index 83b77f6..0b7acd1 100644 --- a/Monitor-APP/pages/home/home.vue +++ b/Monitor-APP/pages/home/home.vue @@ -442,20 +442,20 @@ },1000*60*60*4) - setInterval(()=> { - setTimeout(()=>{ - var time = new Date(); - var hh = time.getHours(); - var mm = time.getMinutes(); - if(hh > this.oldHours && mm >this.oldMin && this.oldMin - mm < 55){ - plus.runtime.restart(); - } - if(mm >this.oldMin && mm - this.oldMin >2){ - plus.runtime.restart(); - } - },100) + // setInterval(()=> { + // setTimeout(()=>{ + // var time = new Date(); + // var hh = time.getHours(); + // var mm = time.getMinutes(); + // if(hh > this.oldHours && mm >this.oldMin && this.oldMin - mm < 55){ + // plus.runtime.restart(); + // } + // if(mm >this.oldMin && mm - this.oldMin >2){ + // plus.runtime.restart(); + // } + // },100) - },1000*30) + // },1000*30) }, created() { let that = this -- Gitblit v1.9.1