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/manifest.json       |    4 ++--
 Monitor-APP/pages/home/home.vue |   26 +++++++++++++-------------
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/Monitor-APP/manifest.json b/Monitor-APP/manifest.json
index 073ccc2..009f67f 100644
--- a/Monitor-APP/manifest.json
+++ b/Monitor-APP/manifest.json
@@ -2,8 +2,8 @@
     "name" : "Monitor-APP",
     "appid" : "__UNI__CA903B7",
     "description" : "",
-    "versionName" : "1.0.1",
-    "versionCode" : "100",
+    "versionName" : "1.0.2",
+    "versionCode" : 101,
     "transformPx" : false,
     "networkTimeout" : {
         "request" : 30000
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