Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightAggregationTerminal
This commit is contained in:
commit
1b50793fb5
1 file changed
+2
-2
+2
-2
@@ -68,7 +68,7 @@ namespace SunlightAggregationTerminal.Class
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
await Application.Current!.Windows[0].Page!.DisplayAlertAsync("错误", ex.ToString(), "是");
|
||||
await Application.Current!.Windows[0].Page!.DisplayAlertAsync("错误", ex.Message.ToString(), "是");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@ namespace SunlightAggregationTerminal.Class
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
await Application.Current!.Windows[0].Page!.DisplayAlertAsync("错误", ex.ToString(), "是");
|
||||
await Application.Current!.Windows[0].Page!.DisplayAlertAsync("网络错误", ex.Message.ToString(), "是");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user