From 0895fb9962db16ca30e2913275396211d6094e13 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期日, 08 十二月 2024 11:23:14 +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