摘要: 自定义文件内容下载 open 方法的第二个参数为下载地址 a.download 对应的是文件名字 var a = document.createElement('a'); a.style.display = 'none'; var xhr = new XMLHttpRequest(); xhr.op 阅读全文
posted @ 2024-11-13 14:39 新时代的搬砖人 阅读(81) 评论(0) 推荐(0)