wx.login没有反应什么原因?

小程序 文章 2021-01-28 16:21 481 0 全屏看文

AI助手支持GPT4.0

wx.login没有反应什么原因?What is the reason why wx.login does not respond?

wx.login没有反应什么原因?


如图,调用登陆接口为什么没有反应呢,似乎都没有发送请求

As shown in the figure, why didn't the login interface respond? It seems that no request was sent

回答:

Samuel.Schrödinger:

首先,本地调试要勾选详情里面的不校验合法域名,其次你需要http://localhost/这样调用

卡布达:

没报错吗 ?

打印下res.code看下

小黎:

调试看一下啊

-EOF-

AI助手支持GPT4.0