From f534d41c36d5895322bf691784a10435b64609fe Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期五, 25 十二月 2020 13:52:00 +0800 Subject: [PATCH] 修复添加、删除楼层时候,界面刷新异常问题 --- HDL_ON/UI/MainPage.cs | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/MainPage.cs b/HDL_ON/UI/MainPage.cs index c58e805..ff4f6b3 100644 --- a/HDL_ON/UI/MainPage.cs +++ b/HDL_ON/UI/MainPage.cs @@ -26,7 +26,7 @@ /// <summary> /// 鐗堟湰鍙� /// </summary> - public static string VersionString = "1.0.1222"; + public static string VersionString = "1.0.1225"; ///// <summary> ///// 瀹㈡埛绔被鍨� ///// </summary> @@ -227,11 +227,14 @@ MainPage.Log($"GoUserPage : {ex.Message}"); }finally { - //Application.RunOnMainThread(() => - //{ - // ///鍒濆鍖朼pp鏁版嵁 - // Common.ApiUtlis.Ins.DownloadData(); - //}); + Application.RunOnMainThread(() => + { + if (downloadData) + { + ///鍒濆鍖朼pp鏁版嵁 + Common.ApiUtlis.Ins.DownloadData(); + }; + }); } }).Start(); } -- Gitblit v1.8.0