function blobDownload(data, filename) { var fileName = filename || (new Date()).getTime() var blob = new Blob([data]) // ie 10+ var navigator = window.navigator var userAgent = window.navigator.userAgent if (navigator.msSaveBlob) { window.navigator.msSaveOrOpenBlob(blob, fileName) return } var l…
月度归档: 2021年2月
1 篇文章