From be94e54dc7cd0eb2e66f25d7def9a873c563564c Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期五, 10 一月 2025 09:53:30 +0800
Subject: [PATCH] 细节

---
 DevApp/Gs.DevApp/UserControl/UCUpFile.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/UCUpFile.cs b/DevApp/Gs.DevApp/UserControl/UCUpFile.cs
index beb75dc..5fd57ad 100644
--- a/DevApp/Gs.DevApp/UserControl/UCUpFile.cs
+++ b/DevApp/Gs.DevApp/UserControl/UCUpFile.cs
@@ -69,7 +69,7 @@
         /// </summary>
         /// <param name="sender"></param>
         /// <param name="e"></param>
-        private async void BtnUp_Click(object sender, EventArgs e)
+        private async  void BtnUp_Click(object sender, EventArgs e)
         {
             var WebApiUrl = ConfigurationSettings.AppSettings.Get("WebApiUrl");
             var address = WebApiUrl + "MesFile/UploadFile";
@@ -84,9 +84,9 @@
             if (UpChanged != null) UpChanged(this, e);
         }
 
-        private async Task UploadFileAsync(string url, string filePath)
+        private async   Task UploadFileAsync(string url, string filePath)
         {
-            UcLoading _loading = new UcLoading();
+            
             string _parentGuid = parentGuid;
             using (var httpClient = new HttpClient())
                 try
@@ -112,7 +112,7 @@
                     Gs.DevApp.ToolBox.MsgHelper.ShowError(ex.Message);
 
                 }
-            _loading.Close();
+            
         }
 
         #endregion

--
Gitblit v1.9.3