js下载pdf文件
摘要:
// 点击下载文件参数href:下载地址,参数filename:文件名(可自定义文件名) ``` downloadFile(href, fileName) { // 获取heads中的filename文件名 let a = document.createElement("a"); a.style.d 阅读全文
posted @ 2023-05-18 15:53 糯米白白 阅读(751) 评论(0) 推荐(0) 编辑
posted @ 2023-05-18 15:53 糯米白白 阅读(751) 评论(0) 推荐(0) 编辑
posted @ 2023-05-18 10:18 糯米白白 阅读(60) 评论(0) 推荐(0) 编辑