之前的需求是根据接口中提供的Blob数据实现PDF下载,已实现代码如下: 1 const url = window.URL.createObjectURL(newBlob([response.data],{type: 'application/pdf'})
確定! 回上一頁