From 1c0e57cf9a11d49fa8f5e287e21d1f4c6c7c5930 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 05 四月 2025 09:18:38 +0800
Subject: [PATCH] fqc
---
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