摘要:
function previewImgByUrl(url: string) { getBlob(url, (blob) => { previewImg(blob); }) } function getBlob(url, cb) { const xhr = new XMLHttpRequest(); 阅读全文
posted @ 2022-03-10 14:45
城南以南123
阅读(55)
评论(0)
推荐(0)
摘要:
二进制流文件下载 function downloadFileByBinary(fileKey: string, fileName: string) { axios({ method: 'get', url: 'xxxx', params: { fileKey: fileKey }, headers: 阅读全文
posted @ 2022-03-10 14:40
城南以南123
阅读(401)
评论(0)
推荐(0)

浙公网安备 33010602011771号