From 770c671fb4ad9bf3691b1250bc10f9c4087edf97 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期五, 06 十二月 2024 08:25:13 +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