丶烨默
丶烨默
  • 发布:2021-01-31 11:46
  • 更新:2021-01-31 11:46
  • 阅读:415

renderer native模式下base64问题

分类:uni-app

纯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 ()

2021-01-31 11:46 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复