摘要: function convertBase64UrlToBlob(urlData) { var arr = dataurl.split(','),//去掉url的头,并转换为byte type = arr[0].match(/:(.*?);/)[1], fileExt = mime.split('/')[1], bstr = atob(arr[1]), n = bstr.len... 阅读全文
posted @ 2017-06-23 10:48 前端小透明 阅读(3655) 评论(0) 推荐(0)