在调用 wx.login 后只运行了回调 complete 是什么情况?

小程序 文章 2021-12-23 09:40 424 0 全屏看文

AI助手支持GPT4.0

在调用 wx.login 后只运行了回调 complete 是什么情况?What happens when only the callback complete is run after calling wx.login?

在调用 wx.login 后只运行了回调 complete 是什么情况?

API: wx.login

微信版本号: 8.0.16

基础库版本号: 2.21.2 [612]

出现的问题: 在调用 wx.login 后直接运行了 complete,返回的对象为 {errMsg: "getGlobalStorage:fail:not supported"},但是我检查了 wx.getStorageSync 和 wx.getStorage 方法都是可以正常调用的,还请各位大佬看看什么情况

API: wx. Login wechat version number: 8.0 16. Basic library version No.: 2.21 2 [612] problem: calling Wx After login, directly run complete, and the returned object is {errmsg: "getglobalstorage: Fail: not supported"}, but I checked Wx Getstoragesync and Wx Getstorage methods can be called normally. Please see what happens

回答:

Lv: Max Human:

未发现异常,提供可复现问题的代码片段。

https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

你微笑时好美:

你不贴个代码 谁知道什么情况

15:

看看代码?

-EOF-

AI助手支持GPT4.0