•axios 接受文件流,需要设置 {responseType:’arraybuffer’} axios.post( apiUrl, formdata, {responseType:'arraybuffer'} ).then(res=> { if (res.status === 200) { let blob = new Blob([res.data], { type: res.headers['content-type'] }); const fileName = res.headers['content-disposition']; c