|
|
|
@ -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(), "是"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|