Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightAggregationTerminal
This commit is contained in:
commit
0122e98b4d
4 files changed
+19
-4
No files matched your search
@@ -95,6 +95,8 @@ namespace SunlightAggregationTerminal.Class
|
||||
{
|
||||
Application.Current!.Windows[0].Page!.DisplayAlertAsync("网络错误", ex.Message.ToString(), "是");
|
||||
});
|
||||
await httpclient.CloseAsync();
|
||||
httpclient.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -145,6 +147,8 @@ namespace SunlightAggregationTerminal.Class
|
||||
{
|
||||
Application.Current!.Windows[0].Page!.DisplayAlertAsync("网络错误", "网络请求超时,请检查网络网络连接", "是");
|
||||
});
|
||||
await httpclient.CloseAsync();
|
||||
httpclient.Dispose();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -161,6 +165,8 @@ namespace SunlightAggregationTerminal.Class
|
||||
{
|
||||
Application.Current!.Windows[0].Page!.DisplayAlertAsync("访问错误", ex.Message.ToString(), "是");
|
||||
});
|
||||
await httpclient.CloseAsync();
|
||||
httpclient.Dispose();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user