$.post(/*...*/,function (result) { var blob=new Blob([result]); var link=document.createElement('a'); link.href=window.URL.createObjectURL(blob); link.download="myFileName.txt"; link.click(); });
post下载文件
猜你喜欢
转载自www.cnblogs.com/eret9616/p/12630378.html
今日推荐
周排行