From 7521d53749b03ca366321c15a7e4c15681be5b73 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 24 十二月 2020 15:58:50 +0800 Subject: [PATCH] 2020-12-24-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