UpdateUserInfo()添加异常捕获

croire 3 years ago
parent 73b2fa9739
commit 796be050a5

@ -226,6 +226,8 @@ namespace DownKyi.ViewModels
/// 更新用户登录信息
/// </summary>
private async void UpdateUserInfo()
{
try
{
LoginPanelVisibility = Visibility.Hidden;
@ -238,8 +240,6 @@ namespace DownKyi.ViewModels
return;
}
try
{
await Task.Run(new Action(() =>
{
// 获取用户信息

Loading…
Cancel
Save