日日行,不怕千万里
摘要: 基本js下载思路: 创建a标签, 给a标签创建download属性, 在属性中点击下载。 一般后台会返回file_pathurl进行赋值 实现过程: function downLoadeFile(file_path) { const a = document.createElement('a'); 阅读全文
posted @ 2018-02-07 23:47 GongXiaoZhu 阅读(121) 评论(0) 推荐(0) 编辑