纯nvue项目 进行base64转码时候 提示 buffer() 没有被定义
global对象倒是存在 global.btoa也存在 但是调用 global.btoa(xxx)时候 提示如下
TypeError: Illegal invocation
at Object.encode (util.js:160)
at Object.rsa_encode (net.js:86)
at Object.to_req (net.js:59)
at Object.post (net.js:49)
at Dn.onLaunch (App.vue:10)
at De ()
at Dn.__call_hook ()
at Ff ()
at Object.sp [as __registerApp] ()
at Dn.beforeCreate ()
0 个回复