微信小程序不支持window对象及Navigator对象Base64转码和解码问题
var base64hash = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';// btoa method//base64 编码function _btoa(s) { if (/([^\u0000-\u00ff])/.test(s)) { throw new...
转载
2019-10-11 17:31:25 ·
971 阅读 ·
0 评论