真机测试,在web-view页面中调用wx.openLocation()会报错。是需要授权吗?

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

错误提示:errMsg: “openLocation:the permission value is offline verifying”。

2 回复
xiuying02
xiuying021 楼6 年前

wx.config wx.checkJsApi

qinqiang
qinqiang2 楼6 年前

openLocation方法传递的参数:{ latitude: 22.46110799, longitude: 113.96530151, name: “测试”, address: “香港特别行政区元朗区”, scale: 15, … }