用自己的賬號除錯小程式沒有問題,用虛擬賬號來呼叫云函式 wx.cloud.init就出錯了
查詢授權完成
(anonymous) @ VM281:13
VM261:1 cloud init error: {errMsg: "需要重新登錄", operateWXDataFail: true}errMsg: "需要重新登錄"operateWXDataFail: true__proto__: Object
console.error @ VM261:1
(anonymous) @ VM267 WAService.js:1
Promise.catch (async)
e.sendInitRequest @ VM267 WAService.js:1
e.init @ VM267 WAService.js:1
onLaunch @ app.js? [sm]:13
(anonymous) @ VM267 WAService.js:1
(anonymous) @ VM267 WAService.js:1
he @ VM267 WAService.js:1
(anonymous) @ VM267 WAService.js:1
(anonymous) @ VM267 WAService.js:1
index.js? [sm]:134 Error: errCode: -1 | errMsg: cloud.callFunction:fail 需要重新登錄; at cloud.callFunction api;
at new u (VM242 WAService.js:1)
at d (VM242 WAService.js:1)
at Object.t.returnAsFinalCloudSDKError (VM242 WAService.js:1)
at VM242 WAService.js:1
at VM242 WAService.js:1
at Object.throw (VM242 WAService.js:1)
at r (VM242 WAService.js:1)
index.js? [sm]:135 call INDEX func err
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/54607.html
標籤:微信開發
上一篇:安卓沙箱有沒有了解的大神!!!!
