摘要: var str = " 1 sa s "; str = str.replace(/\s/g, ''); 阅读全文
posted @ 2019-05-23 15:33 tristam 阅读(641) 评论(0) 推荐(0) 编辑
摘要: function download(filename) { var oReq = new XMLHttpRequest(); oReq.open("GET", "", true); oReq.responseType = "blob"; oReq.onload = function (... 阅读全文
posted @ 2019-05-23 11:23 tristam 阅读(4059) 评论(0) 推荐(0) 编辑