From 388ece21a0c608c2571775137a89ad32ca0cedd8 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 11 一月 2021 14:35:23 +0800 Subject: [PATCH] 2021-1-11-2 --- 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