摘要: 前言: 最近写的需求下载文件的情景比较多,因此记录一下 代码实现: function downloadUrl(url) { const a = docuement.createElement('a') a.href = url a.download = 'xxx.xxx' a.click() win 阅读全文
posted @ 2021-12-23 19:27 有梦想的咸鱼7 阅读(156) 评论(0) 推荐(0) 编辑