工单 优化 ,增加图片
This commit is contained in:
1 parent
bf5a70597c
commit
cf2efbcb16
27 files changed
+3555
-1538
No files matched your search
@@ -415,7 +415,7 @@ namespace AllBase
|
||||
bitmap.Freeze(); // 防止后续更改,提高性能
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// 处理异常,例如打印错误信息或设置一个默认图片等
|
||||
@@ -425,7 +425,7 @@ namespace AllBase
|
||||
|
||||
return bitmap;
|
||||
}
|
||||
|
||||
|
||||
public static async Task<BitmapImage> LoadBitmipImageFromUrlAsync(string url, int? width = null, int? height = null)
|
||||
{
|
||||
BitmapImage bitmap = new BitmapImage();
|
||||
|
||||
Reference in new issue
Block a user