小程序 authorize scope.userLocation 需要在app.json中声明permission字段

版权声明:转载请评论留言 https://blog.csdn.net/solocao/article/details/89811368

使用wx.authorize遇到的一个小问题,解决办法就是在app.json中增加permission字段。

官方地址:https://developers.weixin.qq.com/miniprogram/dev/reference/configuration/app.html

猜你喜欢

转载自blog.csdn.net/solocao/article/details/89811368