微信小程序调用wx.getLocation时弹窗不出现
具体开发方法如下:
在 app.json 里面增加 permission 属性配置(小游戏需在game.json中配置):
"permission": { "scope.userLocation": { "desc": "你的位置信息将用于小程序位置接口的效果展示" } } |
具体开发方法如下:
在 app.json 里面增加 permission 属性配置(小游戏需在game.json中配置):
"permission": { "scope.userLocation": { "desc": "你的位置信息将用于小程序位置接口的效果展示" } } |