let blob = new Blob([response.data],  {type: 'application/pdf;charset=UTF-8'});
let fileURL = URL.creatObjectURL(blob)

且将响应头的responseType设置为arraybuffer

相关文章:

  • 2021-11-13
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2021-11-30
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2022-01-31
  • 2021-06-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-03
相关资源
相似解决方案