From 0e0584b87851c56745bf73b1a961b80613dd0721 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 19 五月 2020 16:35:16 +0800
Subject: [PATCH] 2020-05-19-4

---
 ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs
index 5ffb606..051d41a 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs
@@ -217,7 +217,7 @@
                     }
                     var newVersion = results[0]["version"]?.ToString();
                     var updateContent = results[0]["releaseNotes"]?.ToString();
-                    if (newVersion != CommonPage.CodeIDString)
+                    if (newVersion.CompareTo(CommonPage.CodeIDString) > 0)
                     {
                         return true;
                     }

--
Gitblit v1.8.0