下载当前页面上的指定图片var $a = $("<a></a>").attr("href",'要下载的图片的src属性').attr("download",'保存的文件名'); $a[0].click(); Last modification:January 27th, 2018 at 09:10 pm © The copyright belongs to the author