excel下載導出功能

const downExcel=(url=’’,data={},name=‘excel’,method=‘POST’)=>{ //導出 let oReq = new XMLHttpRequest(); oReq.open(method, api+’/’+url, true); oReq.responseType = 「blob」; oReq.setRequestHeader(「Content-Ty
相關文章
相關標籤/搜索