From 2ffa3cda080d1990775fe42e13ced433d27ca3e8 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 10 十二月 2024 10:36:37 +0800 Subject: [PATCH] Merge branch 'master' of http://43.142.96.171:8080/r/~tjx/GsMesClient --- 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