在请求头里加入 responseType: 'blob' 来进行 来进行二进制流的展示
在请求结果以
window.URL.createObjectURL 进行接受 去展示
一般图片可以可以使用base64进行转换
img.src = "data:image/png;base64," + base64String;
进行展示
在请求头里加入 responseType: 'blob' 来进行 来进行二进制流的展示
在请求结果以
window.URL.createObjectURL 进行接受 去展示
一般图片可以可以使用base64进行转换
img.src = "data:image/png;base64," + base64String;
进行展示