From 63c5b3a0826bb6a2715bb11d6c236ce87e97ff74 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 23 十二月 2020 16:18:05 +0800 Subject: [PATCH] 2020-12-23-4 --- 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