|
@@ -241,8 +241,8 @@ async function getImageList(params) {
|
|
|
// 接下来你可以使用这个二进制数据来显示图片
|
|
|
// 例如,创建一个Image对象并设置src为imageData的URL
|
|
|
// let img = new Image();
|
|
|
- let blob = new Blob([imageData]); // 如果是arraybuffer,需要转换为Blob
|
|
|
- let url = URL.createObjectURL(blob);
|
|
|
+ // let blob = new Blob([imageData]); // 如果是arraybuffer,需要转换为Blob
|
|
|
+ let url = window.URL.createObjectURL(imageData);
|
|
|
imgSrcView.value = url
|
|
|
}
|
|
|
//获取日报列表数据
|