btoa: 将普通字符串转为Base64字符串 atob: 将Base64字符串转为普通字符串 说明:window.btoa不支持汉字; ===》使用window.encodeURIComponent和window.decodeURIComponent 转载于:https://www.cnblogs.com/mina-huojian66/p/6043852.html