摘要:
getNowTime(time) { const now = time const year = now.getFullYear() // 得到年份 let month = now.getMonth() + 1 // 得到月份 let date = now.getDate() // 得到日期 let 阅读全文
摘要:
vue的axios下载excel时,获取不到Content-Disposition内容,提取文件名 function postDownload(downloadUrl, params, contentType, callback){ let headers = { 'Content-Type': c 阅读全文
摘要:
downLoadReport({ id:'9003' },{responseType:'blob'}).then((res) => { let data = res.data let url = window.URL.createObjectURL(new Blob([data])) let lin 阅读全文