在json文件中授权了位置信息,为什么没有显示弹款?

发布于 6 年前作者 gangdeng10329 次浏览最后编辑 6 年前来自 ask

json:

js:

实际效果:

1 回复
xiulan46
xiulan461 楼5 年前

你好,请参考文档:

https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.getLocation.html

自行打印下complete 看下返回什么数据。