axios請求文件流下載文件

  axios.post('/api',{ // 傳參 }, { responseType:'blob' // 設置響應數據類型 }) .then(res=>{ if (res.status == 200) { let url = window.URL.createObjectURL(new Blob([res.data])) let
相關文章
相關標籤/搜索