From c173a2976e0fcb61649cac7dd192fedbfbb5cb60 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 28 十二月 2020 17:51:07 +0800 Subject: [PATCH] 2020-12-28-1 --- HDL_ON/UI/MainPage.cs | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/MainPage.cs b/HDL_ON/UI/MainPage.cs index c58e805..89e3557 100644 --- a/HDL_ON/UI/MainPage.cs +++ b/HDL_ON/UI/MainPage.cs @@ -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