/// <summary> /// 加载图片数据 /// </summary> public static async Task <Dictionary <Id, string> > GetPictureUrlsAsync(Id[] fileIds) { var result = await DataApi.GetFilesUrlAsync(fileIds); if (!result.IsOk) { Mg.Get <IMgLog>().Error("获取批注的图片数据失败" + result.Message); Mg.Get <IMgDialog>().ShowDesktopAlert("获取批注的图片数据失败", result.Message); return(null); } return(result.Data.As <Dictionary <Id, string> >()); }