代码涉及未配置在app.json的wx.chooseLocation/wx.getLocation接口,发布后将无法使用。

代码涉及未配置在app.json的wx.chooseLocation/wx.getLocation接口,发布后将无法使用。

在app.json文件里配置下:

  "requiredPrivateInfos":[
    "chooseLocation",
    "getLocation"
  ],

在这里插入图片描述
具体可参考这个官方公告
https://developers.weixin.qq.com/community/develop/doc/000a02f2c5026891650e7f40351c01

猜你喜欢

转载自blog.csdn.net/weixin_45357661/article/details/129661613