From c6402221a27aab8dfdac6e08967041e0c5009612 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 13 四月 2023 16:04:15 +0800
Subject: [PATCH] Merge branch 'dev-cqy(1.5.9)' into wjc

---
 HDL_ON/UI/UI2/UserPage.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs
index b2fd6b5..78690ae 100644
--- a/HDL_ON/UI/UI2/UserPage.cs
+++ b/HDL_ON/UI/UI2/UserPage.cs
@@ -132,7 +132,11 @@
                 //寮�鍚畾浣嶆湇鍔�
                 try
                 {
-                    Shared.Application.StartGPSLocationService();
+                    if (DB_ResidenceData.Instance.CheckGPS_IsFirst)
+                    {
+                        DB_ResidenceData.Instance.CheckGPS_IsFirst = false;
+                        Shared.Application.StartGPSLocationService();
+                    }
                 }catch(Exception ex)
                 {
                     MainPage.Log("寮�鍚畾浣嶆湇鍔″紓甯�:" + ex.Message);

--
Gitblit v1.8.0