axios请求文件流下载文件

  axios.post('/api',{ // 传参 }, { responseType:'blob' // 设置响应数据类型 }) .then(res=>{ if (res.status == 200) { let url = window.URL.createObjectURL(new Blob([res.data])) let
相关文章
相关标签/搜索