外协付款

This commit is contained in:
Vergil
2020-02-11 10:12:40 +08:00
parent 1d5986ee63
commit 6e755acfaf
3 changed files with 2 additions and 13 deletions

View File

@@ -276,7 +276,7 @@ function download(url) {
saveAs(blob, filename)
})
}
// function decodeUtf8(bytes) { var encoded = ''; for (var i = 0; i < bytes.length; i++) { encoded += '%' + bytes[i].toString(16) } return decodeURIComponent(encoded) }
function getBlob(url, cb) {
var xhr = new XMLHttpRequest()
xhr.open('GET', url, true)