1.在前端使用window.location.href访问下载方法api,而非ajax。

2.若后台报HttpMediaTypeNotAcceptableException: Could not find acceptable representation异常,将下载方法的返回值改为void。

 

相关文章:

  • 2021-05-30
  • 2018-01-26
  • 2021-08-24
  • 2021-06-27
  • 2021-08-21
  • 2022-12-23
  • 2021-09-04
猜你喜欢
  • 2022-12-23
  • 2021-12-30
  • 2021-09-17
  • 2022-02-20
  • 2021-04-29
  • 2021-06-06
  • 2022-12-23
相关资源
相似解决方案